[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] ed



Robert L. Harris wrote:
> 
> Yes, but back in the day it was better than:
> 
> 
> echo "Line 1" > script
> echo "Line 2" >> script
> echo "Line 3" > script
> 
> etc which I had to do some times.

Oh yeah.  I and can recall using ed in scripts with here docs to modify 
files.  I actually wrote a rudimentary editor that used 'ed.'  Upon 
request as it was completely stupid.

-- 
Until later, Geoffrey       Registered Linux User #108567
                             AT&T Certified UNIX System Programmer - 1995