Linux and Unix s2p command
Quick links
About s2p
Syntax
Examples
Related commands
Linux and Unix main page
The s2p command takes a sed script specified on the command line and produces a comparable perl script on the standard output.
s2p [options] [filename]
| -D<number> | Sets debugging flags. |
| -n | Specifies that this sed script was always invoked with a sed -n. Otherwise a switch parser is prepended to the front of the script. |
| -p | Specifies that this sed script was never invoked with a sed -n. Otherwise a switch parser is prepended to the front of the script. |
s2p myfile
Converts the sed file myfile.
