On Unix-like operating systems, the s2p command takes a sed script specified on the command line and produces a comparable perl script on the standard output.
Syntax
s2p [options] [filename]
Options
Examples
s2p myfile
Converts the sed file myfile.
- Syntax
- Examples
- Related commands
- Linux commands help
Related commands
a2p — Creates a Perl script from an AWK script.perl — Interpreter for the Perl programming language.sed — A utility for filtering and transforming text.