- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
43 lines
1,001 B
Text
43 lines
1,001 B
Text
=head1 NAME
|
|
|
|
nviperl - nvi with embedded perl
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
:perl require 'wc.pl'
|
|
:perl wc
|
|
:,$perldo $_=reverse($_)
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
nvi with embedded perl allows you to run perl commands from within nvi.
|
|
Two additional commands are made available when you enable the perl
|
|
interpreter:
|
|
|
|
=over 8
|
|
|
|
=item * perl cmd
|
|
|
|
The perl command passes the specified commands to the perl interpreter.
|
|
The C<$VI::ScreenId>, C<$VI::StartLine> and C<$VI::StopLine> are set.
|
|
To find out how to maniplulate the nvi screens, see L<VI>.
|
|
|
|
=item * perldo cmd
|
|
|
|
The perldo command runs the specified commands on each line of the range
|
|
(every line of the file if no range specified). Before running the
|
|
command the line is copied into $_. If the command returns a true value
|
|
the line is replaced by the new value of $_.
|
|
|
|
The perldo commando does B<not> set the C<VI> variables. (If you think
|
|
this is a bad idea, tell me.)
|
|
|
|
=back
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<VI>
|
|
|
|
=head1 AUTHOR
|
|
|
|
Sven Verdoolaege <skimo@kotnet.org>
|