9 May
2002
9 May
'02
22:20
* Jerry Feldman (gerald.feldman@hp.com) [020509 15:15]:
Passing parameters to system() is simple: command=sprintf("%s %s $s", "Linux command", option1, option2) system(command) You can easily concatenate stuff to the command variable You can also pipe things to commands. Most people think about AWK as an inline command: awk 'script' file
I know, I know...for what he wanted (I think anyway) the awk solution is really ugly. Anyway, I originally said "awkward" b/c I liked the pun :) Contact me off the list and we can come up with the INTERCAL example. -- -ckm