"dd conv=unblock cbs=80 - really grep replacement"

Chris Torek chris at mimsy.UUCP
Fri Jul 1 07:20:28 AEST 1988


In article <145 at insyte.UUCP> jad at insyte.UUCP (Jill Diewald) writes:
>Two things: first I am using HP-UX which does not have 'conv=block'
>documented so its probably not implemented either.

(silly of them :-) )

>More importantly, this is NOT a good solution. ... The files that
>we deal with are very very large data files.  Making a reformated
>copy of the file is not a good solution.

Think `tools'.  Think `pipes'.

	dd if=big_data_file cbs=<recordsize> conv=unblock | grep <regexp>
-- 
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