Re: Display test in MAN page way

2007-10-08 Thread Jenda Krynicky
From: Sundeep <[EMAIL PROTECTED]> > I have a script to do several operations, based on the various options > provided from command line. > > For that I have created the help text (script.pl --help). The text is > huge (exceeding 1 page) and I can not cut down on that. > > So when users (one who u

Re: Display test in MAN page way

2007-10-06 Thread Sundeep
my help is not in POD format. A sample of help is below: It will be similar with more descriptive examples... so it extends more than a page... -0[octal] specify record separator (\0, if no argument) -a autosplit mode with -n or -p (splits $_ into @F) -C[number/list] ena

Re: Display test in MAN page way

2007-10-06 Thread Sundeep
Thanks John, I tried that & it works :) At least I have one way of doing it. But I'm afraid that this could be simply rejected as it seems to violate standards used in our organisation (I'm not sure, as I'm newly joined... but we have many restrictions in coding, additional to Perl suggestions.

Re: Display test in MAN page way

2007-10-05 Thread John W. Krahn
Sundeep wrote: I have a script to do several operations, based on the various options provided from command line. For that I have created the help text (script.pl --help). The text is huge (exceeding 1 page) and I can not cut down on that. So when users (one who uses my script) asks for help, i

Display test in MAN page way

2007-10-05 Thread Sundeep
I have a script to do several operations, based on the various options provided from command line. For that I have created the help text (script.pl --help). The text is huge (exceeding 1 page) and I can not cut down on that. So when users (one who uses my script) asks for help, it just scrolls of