edit first line of long file

Blair P. Houghton bhoughto at cmdnfs.intel.com
Fri Oct 26 15:48:51 AEST 1990


In article <1990Oct25.165820.13706 at foster.avid.oz.au> cbp at foster.avid.oz.au (Cameron Paine) writes:
>In <1990Oct25.154444.12966 at foster.avid.oz.au>, I suggested trying
>>	(line | sed 's/root/ROOT/'; cat) < /etc/passwd
>Then, in <568 at inews.intel.com> bhoughto at cmdnfs.intel.com (Blair P. Houghton)
>countered with:
>
>>sed is the way.  it's not that much slower than cat (0.9

Countered?  I posted on _Monday_ evening, an easy three days before
you did.  If that's countering, I'd like to announce I'm countering
the price of oil next wednesday; it's going to climb like a rocket.

I'd completely forgotten line(1).

Apparently, I'm not the only one :-|.

				--Blair
				  "Gotta go see a broker about
				   some short-selling on the
				   commodities floor..."



More information about the Comp.unix.questions mailing list