GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GENERATE_PERL_COMPLETION_SCRIPT (1)

.ds Aq ’

NAME



 $> generate_perl_completion_script - Generates a perl script to do bash command completion.



CONTENTS

USAGE



 $> generate_perl_completion_script command_name switch switch ...



The resulting script is output on STDOUT. The script will also output the <B>completeB> command on STDERR.

The first argument is taken as the command name, the rest of the arguments as switches to create completion for. The arguments are taken from the command line and STDIN; this lets you create completion script like this



  $> generate_perl_completion_script command option < options_file > my_script.pl



<B>options_fileB> contains an option perl line, without dashes.

or



  $> generate_perl_completion_script command < command_and_options_file > my_scritp.pl



<B>command_and_options_fileB> first line is the command the rest is options, one perl line, without dashes.

OPTIONS

None.

EXIT STATUS

An error message is displayed and a non zero status is returned if the completion script can’t be created.

AUTHOR



        Khemir Nadim ibn Hamouda
        CPAN ID: NKH
        mailto:nkh@cpan.org



Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 GENERATE_PERL_COMPLETION_SCRIPT (1) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.