perlancar

NAME

Complete::Unix - Unix-related completion routines

VERSION

This document describes version 0.07 of Complete::Unix (from Perl distribution Complete-Unix), released on 2016-10-26.

DESCRIPTION

FUNCTIONS

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(%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(%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(%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(%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(%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(%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(%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/sharyanto/perl-Complete-Unix.

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.

SEE ALSO

Complete::Util

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by 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.