Thread View: comp.unix.shell
3 messages
3 total messages
Started by Stephen Quan
Thu, 03 Jan 1991 04:04
awk command?
Author: Stephen Quan
Date: Thu, 03 Jan 1991 04:04
Date: Thu, 03 Jan 1991 04:04
12 lines
729 bytes
729 bytes
In CSH could you do the following : input: output: The quick brown fox jumped The quick brown fox jumped #include "filea" <a cat of filea> #include "fileb" <a cat of fileb> over the lazy dog. over the lazy dog. and would it be just an awk command? Stephen Quan, University of Tasmania.
Re: awk command?
Author: David I. Berg
Date: Thu, 03 Jan 1991 16:36
Date: Thu, 03 Jan 1991 16:36
20 lines
1292 bytes
1292 bytes
In article <quan.662875489@sol> quan@sol.surv.utas.edu.au (Stephen Quan) writes:
>In CSH could you do the following :
>
>input: output:
>The quick brown fox jumped The quick brown fox jumped
>#include "filea" <a cat of filea>
>#include "fileb" <a cat of fileb>
>over the lazy dog. over the lazy dog.
I would suggest:
The quick brown fox jumped
`cat filea`
`cat fileb`
over the lazy dog.
___ ___ dberg@cougar.informix.com
/ ) __ . __/ /_ ) _ __ Informix Software Inc. (303) 850-0210
_/__/ (_(_ (/ / (_(_ _/__> (-' -/~ (_- 5299 DTC Blvd #740; Englewood CO 80111
{uunet|pyramid}!infmx!dberg
The opinions expressed herein are those of mine alone.
Re: awk command?
Author: Stephen Quan
Date: Fri, 04 Jan 1991 02:06
Date: Fri, 04 Jan 1991 02:06
20 lines
1110 bytes
1110 bytes
I wrote : >In CSH could you do the following : > >input: output: >The quick brown fox jumped The quick brown fox jumped >#include "filea" <a cat of filea> >#include "fileb" <a cat of 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads