Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site dalcs.UUCP Path: utzoo!utcsri!dalcs!silvert From: silvert@dalcs.UUCP (Bill Silvert) Newsgroups: net.sources.bugs Subject: Re: Programs from Bourne (field) and K&P (pick and zap) Message-ID: <1504@dalcs.UUCP> Date: Fri, 3-May-85 14:08:11 EDT Article-I.D.: dalcs.1504 Posted: Fri May 3 14:08:11 1985 Date-Received: Sat, 4-May-85 01:15:01 EDT References: <1491@dalcs.UUCP> Organization: Dalhousie University, Halifax, N.S., Canada Lines: 48 > Here are several utilities from Bourne's "The Unix System" and from > Kernighan & Pike's "The Unix Programming Environment". I have received several requests for information about the utilities field, pick, and zap, which I put on net.sources a while back. I didn't know that there were so many individuals without these books by Bourne, and by Kernighan & Pike! I didn't document the programs mainly because I felt it was a useful service to help others avoid having to type in several pages of listings, but I certainly don't want to discourage anyone from buying the books -- that would be a ripoff of the authors. Bourne's book actually includes the manual entry for field, but I haven't typed it into my machine, and I won't distribute it. Here is a brief description of what the utilities do, and what I have changed. If you want to know more, buy the books. field: filter which prints out the fields of its colon-separated input. Try a command like `field 1 6 4 5 < /etc/passwd' to see what it does. In fact, `field 1