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
GENERATE_PERL_COMPLETION_SCRIPT(1) User Contributed Perl Documentation GENERATE_PERL_COMPLETION_SCRIPT(1)

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

 $> generate_perl_completion_script command_name switch switch ...

The resulting script is output on STDOUT. The script will also output the complete 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

options_file contains an option perl line, without dashes.

or

  $> generate_perl_completion_script command < command_and_options_file > my_scritp.pl

command_and_options_file first line is the command the rest is options, one perl line, without dashes.

None.

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

        Khemir Nadim ibn Hamouda
        CPAN ID: NKH
        mailto:nkh@cpan.org
2022-04-07 perl v5.32.1

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

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