G
grocery_stocker
Given the following...
[cdalten@localhost oakland]$ more man.pl
#!/usr/bin/perl
use strict;
use warnings;
open my $out, '|-', 'man perl' or die "cannot open pipe to man
pages";
#print $out "find nope a=cdalten\n";
close $out or die "cannot close pipe to man pages: $!";
[cdalten@localhost oakland]$ ./man.pl
I get....
PERL(1) Perl Programmers Reference Guide
PERL(1)
NAME
perl - Practical Extraction and Report Language
SYNOPSIS
perl [ -sTtuUWX ] [ -hv ] [ -V[:configvar] ]
[ -cw ] [ -d[t][:debugger] ] [ -D[number/list] ]
[ -pna ] [ -Fpattern ] [ -l[octal] ] [ -0[octal/
hexadecimal] ]
[ -Idir ] [ -m[-]module ] [ -M[-]’module...’ ] [ -f ]
[ -C [number/list] ] [ -P ] [ -S ] [ -x
[dir] ]
[ -i[extension] ] [ -e ’command’ ] [ -- ] [ program-
file ] [ argument ]...
If you’re new to Perl, you should start with perlintro, which
is a gen-
eral intro for beginners and provides some background to help
you navi-
gate the rest of Perl’s extensive documentation.
For ease of access, the Perl manual has been split up into
several sec-
tions.
Overview
:
The problem is that the program just stops at ':'. Ie, I have to
physically press the space bar on my keyboard to get to the next page.
How would I set it up some the I could have the program do it for me?
[cdalten@localhost oakland]$ more man.pl
#!/usr/bin/perl
use strict;
use warnings;
open my $out, '|-', 'man perl' or die "cannot open pipe to man
pages";
#print $out "find nope a=cdalten\n";
close $out or die "cannot close pipe to man pages: $!";
[cdalten@localhost oakland]$ ./man.pl
I get....
PERL(1) Perl Programmers Reference Guide
PERL(1)
NAME
perl - Practical Extraction and Report Language
SYNOPSIS
perl [ -sTtuUWX ] [ -hv ] [ -V[:configvar] ]
[ -cw ] [ -d[t][:debugger] ] [ -D[number/list] ]
[ -pna ] [ -Fpattern ] [ -l[octal] ] [ -0[octal/
hexadecimal] ]
[ -Idir ] [ -m[-]module ] [ -M[-]’module...’ ] [ -f ]
[ -C [number/list] ] [ -P ] [ -S ] [ -x
[dir] ]
[ -i[extension] ] [ -e ’command’ ] [ -- ] [ program-
file ] [ argument ]...
If you’re new to Perl, you should start with perlintro, which
is a gen-
eral intro for beginners and provides some background to help
you navi-
gate the rest of Perl’s extensive documentation.
For ease of access, the Perl manual has been split up into
several sec-
tions.
Overview
:
The problem is that the program just stops at ':'. Ie, I have to
physically press the space bar on my keyboard to get to the next page.
How would I set it up some the I could have the program do it for me?