grep replacement

Chris Torek chris at mimsy.UUCP
Sun Jun 12 20:40:06 AEST 1988


In article <144 at insyte.UUCP> jad at insyte.UUCP (Jill Diewald) writes:
-... data base tape contains very long lines, instead of separating
-each record with a newline, all the records may be on the same line.
-There is a defined record size which is used to determine when a
-record ends - instead of a newline.

Think `tools'.

-1) To be able to give grep (also awk, etc) a record size 
-which it would use instead of newlines.  

Use `dd | grep'.

-2) To be able to specify a field range (ie columns 20-30) for the 
-program to search - instead of the entire line/record.  In addition it 
-should be posible to specify several fields in one grep.

Use `dd | cut | grep'.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list