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

Re: [OT] How to batch-process data files



On Thu, Jul 10, 2003 at 11:30:51AM +0200, Joerg Johannes wrote:
> (Anyway, it would still be interesting how to just comment out the first 
> six lines of text...)

Pipe it through

  sed -e '1,6s/^/#/'
  
or to get rid of the first 6 lines entirely pipe it through

  tail -n +7

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpdcp96AKi4c.pgp
Description: PGP signature


Reply to: