Re: returning file info to C code

2008-06-25 Thread shorti
> >   perl -ane "print qq(@F[1,4]\n)" > > HTH, > > Rob- Hide quoted text - > How do you call and output this in the C program? If using a system() call...how is the output retrieved? Last, what key words can I look up to find out what the syntax means in this line..I looked up "filters" but it

Re: returning file info to C code

2008-06-25 Thread shorti
On 25 Jun, 03:43, [EMAIL PROTECTED] (Zentara) wrote: > On Tue, 24 Jun 2008 16:44:47 -0700 (PDT), [EMAIL PROTECTED] (shorti) > wrote: > > >Hello, I am a C coder but new to Perl.  I am running in an AIX > >environment.  I was wondering if there was a Perl way to return string > >data (or larger int v

Re: returning file info to C code

2008-06-25 Thread shorti
Thanks so much for all the input. I have a couple of Perl books but couldnt seem to find what I was looking for and wasnt sure what the key words were. This information will help me on my way! =) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] h

Re: returning file info to C code

2008-06-25 Thread Rob Dixon
shorti wrote: > Hello, I am a C coder but new to Perl. I am running in an AIX > environment. I was wondering if there was a Perl way to return string > data (or larger int values) to a C program? For instance, if I use > the command : > > ps aux | grep process123 my out put would look like this

RE: returning file info to C code

2008-06-24 Thread Thomas Bätzler
shorti <[EMAIL PROTECTED]> asked: > Hello, I am a C coder but new to Perl. I am running in an > AIX environment. I was wondering if there was a Perl way to > return string data (or larger int values) to a C program? You exchange data with a Perl program in the same way you'd exchange data with

returning file info to C code

2008-06-24 Thread shorti
Hello, I am a C coder but new to Perl. I am running in an AIX environment. I was wondering if there was a Perl way to return string data (or larger int values) to a C program? For instance, if I use the command : ps aux | grep process123 my out put would look like this: emextra 45304 0.0