in reply to Re: RFC: UNIX shell to Perl converter
in thread RFC: UNIX shell to Perl converter
How about about patching 'bash' to show what is done? There might even be some debugging stuff in there already, which could be used?
Then you could get a log of:
It should make it easier to generate Perl code and you could get the return codes, etc.Line X: run program "a" and store output into "b". Line X+1: Do something if $? == c
Hmm... could generate Perl programs that just did "system" calls and then rewrite them by parts.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: UNIX shell to Perl converter
by cdarke (Prior) on Oct 11, 2006 at 07:58 UTC |