s2p man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]

S2P(1)									S2P(1)

NAME
       s2p - Sed to Perl translator

SYNOPSIS
       s2p [options] filename

DESCRIPTION
       S2p  takes a sed script specified on the command line (or from standard
       input) and produces a comparable perl script on the standard output.

       Options

       Options include:

       -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.

       Considerations

       The perl script produced looks very sed-ish, and there may very well be
       better  ways to express what you want to do in perl.  For instance, s2p
       does not make any use of the split operator, but you might want to.

       The perl script you end up with may be either faster or slower than the
       original	 sed  script.	If you're only interested in speed you'll just
       have to try it both ways.  Of course, if you want to do	something  sed
       doesn't	do,  you  have no choice.  It's often possible to speed up the
       perl script by various methods, such as deleting all references	to  $\
       and chop.

ENVIRONMENT
       S2p uses no environment variables.

AUTHOR
       Larry Wall <lwall@jpl-devvax.Jpl.Nasa.Gov>

FILES
SEE ALSO
       perl The perl compiler/interpreter
       a2p  awk to perl translator

DIAGNOSTICS
BUGS
				      NEW				S2P(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net