home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!mcsun!ieunet!tcdcs!unix1.tcd.ie!apwhite
- From: apwhite@unix1.tcd.ie (Andrew White)
- Subject: passing variables to system() ?
- Message-ID: <apwhite.726840479@unix1.tcd.ie>
- Sender: usenet@cs.tcd.ie (NN required at ashe.cs.tcd.ie)
- Nntp-Posting-Host: unix1.tcd.ie
- Organization: Trinity College, Dublin
- Date: Tue, 12 Jan 1993 12:07:59 GMT
- Lines: 17
-
- Hi There,
- I have a C program written in which I want to call another program (written in
- awk), passing that program a variable -ie (awkprog x=variable filename) is there
- a way I can do this with system() or is it a bit more complicated than that??
-
- BTW Yes, I do need to call the program , I am not going to use C for field
- matching etc.
-
-
- Thanks
- Andrew.
-
- --
- ------------"Strive never to forget the difference between arson and incest----
- --------------or you may end up like the guy who set fire to his sister"-------
- ____________Andrew White_____________
- apwhite@unix1.tcd.ie OR apwhite@vax1.tcd.ie OR white@disco-sol.dfki.uni-sb.de
-