NAME

dux - Run dux function on the command-line

VERSION

This document describes version 1.540 of dux (from Perl distribution App-dux), released on 2019-10-26.

SYNOPSIS

dux --help | -h
dux --list | -l [ --long ]
dux [common opts] <dux function> [function opts ...] [file ...]

DESCRIPTION

This script runs a dux function on the command line. Dux function receives items as lines from files/stdin, and outputs items as lines of stdout.

OPTIONS

--list, -l

List available dux functions. If run without the --long option, will just output names of dux functions. Otherwise will also display extra information: whether function is an itemfunc (i symbol), whether function is unsafe (U symbol, meaning function evals string from user input), function's version and tags.

--library=STR, -I

Like Perl's -I option.

ENVIRONMENT

See Perinci::CmdLine for a more complete list.

COLOR (bool)

Whether to force enable/disable color. The default is to enable when running interactively.

LOG (bool)

VERBOSE (bool)

TRACE (bool)

DEBUG (bool)

These environment variables can be turned on to enable logging at various levels.

HOMEPAGE

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

SOURCE

Source repository is at https://github.com/perlancar/perl-App-dux.

BUGS

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

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

Data::Unixish

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019, 2017, 2016, 2015, 2014, 2013, 2012 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.