> > 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 didnt show this type of syntax...I was not sure what the -ane does or what the "qq" is. I tried it on the command line and it just hung there. I tried to substitute the "qq" with the "ps" but it says "syntax error at -e line 1, near "]\"" I tried some other perl commands with the -e and got the same thing so it doesnt seem to like it. There was no man perlipc on the AIX machines I tried but found the info on the web. However, I am still having trouble finding the right information on how to extract the output lines into C code. Is this Perl code somehow made to run directly in the C program ? Thanks for your help. Also, I tried to post previous responses but they did not make it to the board. I maybe be emailing you instead but I dont see an option to post only to the board. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/