Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!spool2.mu.edu!uunet!munnari.oz.au!diemen!sol!quan From: quan@sol.surv.utas.edu.au (Stephen Quan) Newsgroups: comp.unix.shell Subject: Re: awk command? Message-ID: Date: 4 Jan 91 02:06:47 GMT References: Sender: news@diemen.utas.edu.au Distribution: comp Lines: 20 I wrote : >In CSH could you do the following : > >input: output: >The quick brown fox jumped The quick brown fox jumped >#include "filea" >#include "fileb" >over the lazy dog. over the lazy dog. > >and would it be just an awk command? Best solution was : cpp -P < input > output Thanks to Bob Weissman, Mark Boyd and Bruce Barnett who suggested that cpp does the trick, and also thanks to Eric Brill who did come up with an 'awk' command and Bob Beaulieu who dropped a line. Also, thanks, to others who I may have left out their names. Stephen Quan, University of Tasmania.