Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!killer!pollux!dalsqnt!rpp386!jfh From: jfh@rpp386.Dallas.TX.US (The Beach Bum) Newsgroups: comp.sources.wanted Subject: Re: "cut" needed to run CC Summary: there is a real cut in the sources archives ... Message-ID: <6844@rpp386.Dallas.TX.US> Date: 20 Sep 88 00:08:20 GMT References: <990@acornrc.UUCP> <486@poseidon.UUCP> <911@riddle.UUCP> <599@white.gcm> Reply-To: jfh@rpp386.Dallas.TX.US (The Beach Bum) Organization: HASA, "S" Division Lines: 20 In article <599@white.gcm> dc@white.UUCP (Dave Caswell) writes: | In article <911@riddle.UUCP> domo@riddle.UUCP (Dominic Dunlop) writes: | >>'cut' selects character-columns (-c) or tab-separated fields (-f) from the | >>named files or stdin, and copies the result to stdout. e.g. | >>echo "How are you today" | cut -d" " -f1,3 | >>will yield "How you". (the -d overrides the separator character). | >> | This is a version someone else wrote, but I believe it works, or is at | lesat a good start. there is a full blown cut and paste entry in thr comp.sources.unix archives. the item is volume 8, issue 78. it should be available from your nearest comp.sources.unix archive site. -- John F. Haugh II (jfh@rpp386.Dallas.TX.US) HASA, "S" Division "If the code and the comments disagree, then both are probably wrong." -- Norm Schryer