in reply to Re^3: Need help to convert short c shell script to perl
in thread Need help to convert short c shell script to perl

Actually not assuming. I just defaulted to what I run into the most myself. Hardly ever touch CSH these days. I was more interested in demonstrating a concept than anything else.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
  • Comment on Re^4: Need help to convert short c shell script to perl

Replies are listed 'Best First'.
Re^5: Need help to convert short c shell script to perl
by cdarke (Prior) on Sep 27, 2007 at 09:43 UTC
    I have tried to write a ksh to perl convertor RFC: UNIX shell to Perl converter, and csh has simpler syntax (for a parser, not a user).
    I gave up because I found most shell scripts are written very badly, and bad shell scripts converted into really bad perl.
          and bad shell scripts converted into really bad perl.

      Amen to that!


      Peter L. Berghold -- Unix Professional
      Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg