The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

unliner - Untangle your unix pipeline one-liners

USAGE

Unliner is a scripting language and toolset for refactoring and developing unix one-liners.

This is the command line interface for running unliner scripts. To learn how to create unliner scripts, see App::Unliner::Intro.

You can run your scripts by passing them in as the first argument to unliner:

unliner /path/to/myscript.unliner [args to unliner script]

Alternatively, you can put the following line at the top of your unliner script:

#!/usr/bin/env unliner

make your script executable:

chmod a+x /path/to/myscript.unliner

and then run it directly:

/path/to/myscript.unliner [args]

Lastly, you pipe an unliner script to unliner on standard input:

unliner < /path/to/myscript.unliner

although now your unliner script won't have standard input available to it which your script may require.

DEBUGGING

If you set the environment variable UNLINER_DEBUG then some extra information will be printed to stderr (see App::Unliner::Intro):

UNLINER_DEBUG=1 /path/to/myscript.unliner

SEE ALSO

App::Unliner::Intro

unliner github repo

AUTHOR

Doug Hoyte, <doug@hcsw.org>

COPYRIGHT & LICENSE

Copyright 2012-2014 Doug Hoyte.

This module is licensed under the same terms as perl itself.