Path: utzoo!attcan!uunet!husc6!uwvax!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: grep replacement Keywords: Long Lines Message-ID: <11924@mimsy.UUCP> Date: 12 Jun 88 10:40:06 GMT References: <7882@alice.UUCP> <5630@umn-cs.cs.umn.edu> <6866@elroy.Jpl.Nasa.Gov> <144@insyte.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 21 In article <144@insyte.UUCP> jad@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@mimsy.umd.edu Path: uunet!mimsy!chris