unliner - Untangle your unix pipeline one-liners
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
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.
If you set the environment variable UNLINER_DEBUG then some extra information will be printed to stderr (see App::Unliner::Intro):
UNLINER_DEBUG
UNLINER_DEBUG=1 /path/to/myscript.unliner
App::Unliner::Intro
unliner github repo
Doug Hoyte, <doug@hcsw.org>
<doug@hcsw.org>
Copyright 2012-2014 Doug Hoyte.
This module is licensed under the same terms as perl itself.
To install App::Unliner, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Unliner
CPAN shell
perl -MCPAN -e shell install App::Unliner
For more information on module installation, please visit the detailed CPAN module installation guide.