sed - Perl conversion done with s2p
=head1 NAME psed - a stream editor =head1 SYNOPSIS psed [-an] script [file ...] psed [-an] [-e script] [-f script-file] [file ...] s2p [-an] [-e script] [-f script-file] =head1 DESCRIPTION A stream editor reads the input stream consisting of the specified fil +es (or standard input, if none are given), processes is line by line by applying a script consisting of edit commands, and writes resulting li +nes to standard output. The filename 'C<->' may be used to read standard i +nput. The edit script is composed from arguments of B<-e> options and script-files, in the given order. A single script argument may be spec +ified as the first parameter. If this program is invoked with the name F<s2p>, it will act as a sed-to-Perl translator. See L<"SED SCRIPT TRANSLATION">. B<sed> returns an exit code of 0 on success or >0 if an error occurred +.
In reply to Re: Must have CLI of Perl's sed's n command
by Tux
in thread Must have CLI of Perl's sed's n command
by abdan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |