|
LINUX / UNIX cmd
|
Introduction |
Commands in A |
Commands in B |
Commands in C |
Commands in D |
Commands in E |
Commands in F |
Commands in G |
Commands in H |
Commands in I |
Commands in J |
Commands in K |
Commands in L |
Commands in M |
Commands in N |
Commands in P |
Commands in R |
Commands in S |
Commands in T |
Commands in U |
Commands in W |
Commands in Y |
Ask your doubts |
More about Linux |
Feedback |
|
|
|
|
|
Tutorials

Linux-commands

|
Topic |
What is Linux a2p Command?
|
|
Explanation |
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.
SYNTAX:
The Syntax is
a2p [options] [filename]
OPTIONS:
| -D<number> |
sets debugging flags. |
| -F<character> |
tells a2p that this awk script is always invoked with this -F
switch. |
| -n<fieldlist> |
specifies the names of the input fields if input does not have to
be split into an array. |
| -<number> |
causes a2p to assume that input will always have that many fields. |
EXAMPLE:
| 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.
|
| A Note |
Find LINUX Commands... Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX / UNIX cmd reference. This is a copyright content.
|
|
|
|