a2p Linux Commands
What is Linux a2p Command?
a2p COMMAND:a2p - Awk to Perl translator
A2p takes an awk script specified on the command line (or from standard
input) and produces a comparable perl script on the standard output.
a2p [options] [filename]
|| sets debugging flags.
|| tells a2p that this awk script is always invoked with this -F
|| specifies the names of the input fields if input does not have to
be split into an array.
|| causes a2p to assume that input will always have that many fields.
|a2p myfile - would convert the file myfile.
Awk to perl translator scripts are often embedded in a shell script that pipes stuff into and out of awk. Often the shell script wrapper can be incorporated into the perl script, since perl can start up pipes into and out of itself, and can do other things that awk can't do by itself.