perl-App-Unliner-0.020-alt2.noarch.rpm


Advertisement

Description

perl-App-Unliner - Untangle your unix pipeline one-liners

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-App-Unliner
Package version 0.020
Package release alt2
Package architecture noarch
Package type rpm
Installed size 45.63 KB
Download size 45.63 KB
Official Mirror ftp.altlinux.org
Unliner is a scripting language and toolset for refactoring and developing unix one-liners.
Note: This page is a high-level overview of unliner. For an introduction and manual, see the App::Unliner::Intro manpage.
The simplest way to install unliner is with cpanminus:
curl -sL https://raw.github.com/miyagawa/cpanminus/master/cpanm | sudo perl - App::Unliner
Here is an unliner script to display response code tallies from standard apache logs. Save it in the file `reportgen':
def main {
extract-response-codes $@ | tally
}
def extract-response-codes : perl -n {
print "$1\n" if /(\d\d\d) \S+$/;
}
def tally {
sort | uniq -c | sort -rn
}
Now make `reportgen' executable:
$ chmod a+x reportgen
Now you can run `reportgen' like a normal program:
$ ./reportgen /var/www/log/access.log
43628 200
1911 301
201 404
6 500

Alternatives

Package Version Architecture Repository
perl-App-Unliner - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(Digest/SHA1.pm) -
perl(File/Temp.pm) -
perl(Getopt/Long.pm) -
perl(POSIX.pm) -
perl(Regexp/Grammars.pm) -
perl(Template.pm) -
perl(base.pm) -
perl(common/sense.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(App/Unliner.pm) = 0.020
perl(App/Unliner/Grammar.pm) -
perl(App/Unliner/Grammar/PostProc.pm) -
perl(App/Unliner/Intro.pm) -
perl(App/Unliner/Language.pm) -
perl(App/Unliner/Language/Exec.pm) -
perl(App/Unliner/Language/Perl.pm) -
perl(App/Unliner/Language/Python.pm) -
perl(App/Unliner/Language/Shell.pm) -
perl(App/Unliner/Program.pm) -
perl(App/Unliner/Program/Compiled.pm) -
perl(App/Unliner/Util.pm) -
perl-App-Unliner = 0.020-alt2

Download

Type URL
Binary Package perl-App-Unliner-0.020-alt2.noarch.rpm
Source Package perl-App-Unliner-0.020-alt2.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-App-Unliner rpm package:
    # sudo apt-get install perl-App-Unliner

Files

Path
/usr/share/doc/perl-App-Unliner-0.020/Changes
/usr/share/doc/perl-App-Unliner-0.020/README
/usr/share/perl5/App/Unliner.pm
/usr/share/perl5/App/Unliner/Grammar.pm
/usr/share/perl5/App/Unliner/Intro.pm
/usr/share/perl5/App/Unliner/Language.pm
/usr/share/perl5/App/Unliner/Program.pm
/usr/share/perl5/App/Unliner/Util.pm
/usr/share/perl5/App/Unliner/Grammar/PostProc.pm
/usr/share/perl5/App/Unliner/Language/Exec.pm
/usr/share/perl5/App/Unliner/Language/Perl.pm
/usr/share/perl5/App/Unliner/Language/Python.pm
/usr/share/perl5/App/Unliner/Language/Shell.pm
/usr/share/perl5/App/Unliner/Program/Compiled.pm

See Also

Package Description
perl-App-Unliner-scripts-0.020-alt2.noarch.rpm App-Unliner scripts
perl-App-UpdateRinciMetadataDb-0.11-alt1.noarch.rpm Create/update Rinci API metadata database
perl-App-UpdateRinciMetadataDb-scripts-0.11-alt1.noarch.rpm App-UpdateRinciMetadataDb scripts
perl-App-UpfUtils-0.05-alt1.noarch.rpm CLI interface for Unix::Passwd::File (as separate scripts)
perl-App-UpfUtils-scripts-0.05-alt1.noarch.rpm App-UpfUtils scripts
perl-App-UuidUtils-0.02-alt2.noarch.rpm Command-line utilities related to UUIDs
perl-App-UuidUtils-scripts-0.02-alt2.noarch.rpm App-UuidUtils scripts
perl-App-VOJournal-0.4.5-alt1.noarch.rpm Open a file in vimoutliner to write a journal
perl-App-VOJournal-scripts-0.4.5-alt1.noarch.rpm App-VOJournal scripts
perl-App-ValidateCPANMetaWithSah-0.002-alt1.noarch.rpm Validate CPAN Meta specification with Sah schema
perl-App-Validation-Automation-0.02-alt1.noarch.rpm A Validation Framework for Web and Unix Centric Applications
perl-App-VersionUtils-0.004-alt1.noarch.rpm Command-line utilities related to version number
perl-App-Video-Generator-0.07-alt1.noarch.rpm Script to generate video
perl-App-Video-Generator-scripts-0.07-alt1.noarch.rpm App-Video-Generator scripts
perl-App-Virtualenv-2.07-alt1.noarch.rpm Virtual environment for Perl 5
Advertisement
Advertisement