On Sunday 29 April 2018 16:34:18 to...@tuxteam.de wrote:

> On Sun, Apr 29, 2018 at 08:06:47PM +0000, Curt wrote:
>
> [...]
>
> > Not knowing anything I came up with (after some research):
> >
> > sort -u < test.txt | tr '\n' ','
> >
> > No sed.
>
> If you don't need the space after the comma then yes, sed is
> superfluous. Reminds me that half of my work as a programmer
> is done talking to the customer ;-)
>
> > My list has a comma at the beginning as well as at the end, though
> > (with no newline, either).
> >
> > But if we were going to the moon with this I would be economizing
> > that supernumerary process.
> >
> > ;-)
> >
> :-))
>
> Remember the size of the computers which went to the moon 1969. For
> tr there's space (without unicode). For sed... hmmm. For Perl? Hell,
> no!
>
For those that are too "new", that was AFAIK, and RCA 1802 with 4k of static 
ram. Very slow, and very low power. But having experience codeing for it in the 
later 70's, it was both stable and if the coder did his job, bulletproof. The 
program I wrote for it was still being used 20+ times a day by the production 
people at KRCR-tv in Redding CA, in 1996. Considering I wrote it in 1978, that 
18 years of non-stop use at a tv station, its like The Simpsons, who just 
passed Gunsmoke as the longest running program ever. I suspect it was still in 
use during the day of June 30th 2008, the last day we broadcast in NTSC. For a 
program that made liberal use of self-modifying code, I'd say that was amazing. 
Lets also say that the 1802's architecture was also different from every other 
cpu in the 8/16 bit field then. The TI 9900 was the only simpler one, stripping 
any internal register that addressed memory directly.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Reply via email to