NAME

Complete::Unix - Unix-related completion routines

VERSION

This document describes version 0.081 of Complete::Unix (from Perl distribution Complete-Unix), released on 2022-09-08.

DESCRIPTION

FUNCTIONS

complete_gid

Usage:

complete_gid(%args) -> array

Complete from list of Unix GID's.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • etc_dir => str

  • word* => str (default: "")

    Word to complete.

Return value: (array)

complete_group

Usage:

complete_group(%args) -> array

Complete from list of Unix groups.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • etc_dir => str

  • word* => str (default: "")

    Word to complete.

Return value: (array)

complete_pid

Usage:

complete_pid(%args) -> array

Complete from list of running PIDs.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • word* => str (default: "")

    Word to complete.

Return value: (array)

complete_proc_name

Usage:

complete_proc_name(%args) -> array

Complete from list of process names.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • word* => str (default: "")

    Word to complete.

Return value: (array)

complete_service_name

Usage:

complete_service_name(%args) -> array

Complete from list of service names from /etc/services.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • word* => str (default: "")

    Word to complete.

Return value: (array)

complete_service_port

Usage:

complete_service_port(%args) -> array

Complete from list of service ports from /etc/services.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • word* => str (default: "")

    Word to complete.

Return value: (array)

complete_uid

Usage:

complete_uid(%args) -> array

Complete from list of Unix UID's.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • etc_dir => str

  • word* => str (default: "")

    Word to complete.

Return value: (array)

complete_user

Usage:

complete_user(%args) -> array

Complete from list of Unix users.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • etc_dir => str

  • word* => str (default: "")

    Word to complete.

Return value: (array)

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Complete-Unix.

SOURCE

Source repository is at https://github.com/perlancar/perl-Complete-Unix.

SEE ALSO

Complete::Util

AUTHOR

perlancar <perlancar@cpan.org>

CONTRIBUTOR

Steven Haryanto <stevenharyanto@gmail.com>

CONTRIBUTING

To contribute, you can send patches by email/via RT, or send pull requests on GitHub.

Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:

% prove -l

If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond that are considered a bug and can be reported to me.

COPYRIGHT AND LICENSE

This software is copyright (c) 2022, 2016, 2015, 2014 by perlancar <perlancar@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Complete-Unix

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.