Xref: utzoo comp.lang.c++:1499 comp.unix.questions:9071 comp.sources.wanted:4934 Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!nosc!ucsd!rutgers!att!ihnp4!poseidon!ech From: ech@poseidon.UUCP (Edward C Horvath) Newsgroups: comp.lang.c++,comp.unix.questions,comp.sources.wanted Subject: Re: "cut" needed to run CC Message-ID: <486@poseidon.UUCP> Date: 1 Sep 88 18:14:12 GMT References: <990@acornrc.UUCP> Reply-To: ech@poseidon.UUCP (XT1554000-Edward C Horvath;LZ 3F-315;3005) Organization: AT&T Bell Laboratories, Lincroft, NJ Lines: 14 In article <990@acornrc.UUCP> bob@acornrc.UUCP (Bob Weissman) writes: >The CC script which runs the AT&T C++ compiler makes reference >to a program called "cut", which does not exist on BSD systems. '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). It isn't (quite) a database projection, in that cut -f3,1 is the same as cut -f1,3. Some Unices may have my ncut(1) command that does -f3,1 properly. More details: see any AT&T Unix User's Manual. =Ned Horvath=