in reply to Parsing (l)unix man pages
Works great, on Solaris. Maybe the fancy formatting (bold fonts etc) of the man page on your system is what is getting you hung up? Having weird terminal control characters in the output from man to do font decorations might be making your match fail.perl -e 'open(FILE, "/usr/bin/man ssh | "); while(<FILE>) { print if / +SYNOPSIS/ }'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Parsing (l)unix man pages
by Cine (Friar) on Aug 21, 2001 at 00:57 UTC | |
by Anonymous Monk on Aug 21, 2001 at 01:32 UTC | |
by Anonymous Monk on Aug 21, 2001 at 01:35 UTC |
In Section
Seekers of Perl Wisdom