Tool for perl script to awk

Discussion in 'Perl' started by engineer, Jun 14, 2004.

  1. engineer

    engineer Guest

    Hi,

    Is there a tool or script available to convert perl-script to
    awk-script/or any other script.
     
    engineer, Jun 14, 2004
    #1
    1. Advertisements

  2. engineer

    Joe Smith Guest

    engineer wrote:

    > Is there a tool or script available to convert perl-script to
    > awk-script/or any other script.


    Perl comes with 'a2p', a perl script that converts an awk program
    into a perl program.

    There are a lot of things in the perl language that awk doesn't have,
    so attempting perl-to-awk will run into problems.
    -Joe
     
    Joe Smith, Jun 14, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. NNTP

    sed awk or perl for this?

    NNTP, Sep 11, 2003, in forum: Perl
    Replies:
    13
    Views:
    3,738
    Alan Connor
    Sep 30, 2003
  2. dpackwood
    Replies:
    3
    Views:
    2,150
  3. gorda
    Replies:
    2
    Views:
    661
    Andrew Shitov
    Oct 21, 2003
  4. Replies:
    5
    Views:
    972
  5. Perl script to replace awk

    , Jul 26, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    231
    Geoffroy Braem
    Jul 27, 2004
  6. AyOut

    Executing awk from perl script

    AyOut, Mar 24, 2007, in forum: Perl Misc
    Replies:
    6
    Views:
    241
    Greg Bacon
    Mar 26, 2007
  7. Replies:
    5
    Views:
    1,081
    John W. Krahn
    Apr 2, 2007
  8. Generic Usenet Account

    Perl equivalent of simple awk script

    Generic Usenet Account, Nov 12, 2008, in forum: Perl Misc
    Replies:
    5
    Views:
    350
Loading...