
12 Sep
2009
12 Sep
'09
4:19 a.m.
В сообщении от Суббота 12 сентября 2009 01:18:01 автор Hong Yang написал:
This way works fine if the program has no arguments. What if I have to pass arguments such as "-i input -o output"?
You can just run perl and feed you program to perl's stdin. With this you can add all flags you like Shell $ echo 'print "fff\n"; $i=1; print "$i\n";' | perl fff 1