Menu

New Downloads

Easy Photo Cartoonizer Lite 1.49
Published: 04 April, 2020 09:08
Software to easily convert photos in either...

Batch Audio To Mp3 Concatenator Lite 1.49
Published: 04 April, 2020 09:03
Software to easily concatenate collections of mp3 files...

Password Generator 2.0
Published: 04 April, 2020 08:48
Password Generator is a free program for generating...

VyprVPN for Mac 3.3.0
Published: 04 April, 2020 08:37
The VyprVPN for Mac application automatically configures...

Maiar 76.0.1.21.0
Published: 02 April, 2020 08:41
Maiar is a blazing fast, privacy first browser for the...

InPixio Free Photo Editor 8.5.6740.18838
Published: 02 April, 2020 08:32
Easy to use! Add Filters & Effects: turn your photos...

VyprVPN for Windows 3.2.0
Published: 31 March, 2020 09:00
The VyprVPN for Windows application automatically...

New Reviews

Aquarium Lab 2012.0.2   (Usha)
My aquarium water condition is being monitored by this...

TextSeek (Mac) 2.5.1583   (Zesi_Tom)
Deep indexing of desktop computer's documents is...

RPM Remote Print Manager Elite 32 Bit 6.1.0.439   (tintin)
Takes care of any printing job to be converted and saved...

Nutrigenic Helper 1.0   (Simsiak)
As a dietician I use this software to plan a nutrient...

Radmin 3.5.2.1   (Jefferson)
Can control the computers from distance location even if...

JavaScript Diagram 3.3.3   (Xeviers)
Lots of flow diagrams can be drawn in short time with...

WarpPro 1.0   (Rownok)
Reproduces any record after fixing the timing error of...

HueScope Separator 1.0   (Kislu)
Separates the colors from an watercolor image which is...

ERD Concepts 8.0   (Tintin)
For backend database design it is the perfect one, manual...

MindView 7.0.18668.0   (Zerin)
Can easily note down any new ideas or plans for future...

Popular Downloads

FreeCommander 2009.02b  (6280)
Released: 08 November, 2011
FreeCommander is an advanced file manager program. It can...

AbiWord 2.8.6  (1839)
Released: 05 December, 2011
AbiWord is a free word processor for all major operating...

TestDisk and PhotoRec 6.14  (2867)
Released: 24 October, 2012
TestDisk is a powerful free data recovery software!

NetBeans IDE 7.4  (1092)
Released: 02 December, 2013
Free and open source IDE for programmers in almost all...

Safari for Windows 5.1.7  (4013)
Released: 04 December, 2013
Experience the fastest web browsing in your windows PC...

GeekUninstaller 1.1.1.21  (1406)
Released: 08 December, 2013
GeekUninstaller is a free small sized uninstaller program...

SeaMonkey 2.23  (1614)
Released: 07 January, 2014
Advanced Internet user, web developer and corporate...

Ahnenblatt 2.74  (102)
Released: 15 November, 2012
Ahnenblatt is a free and easy-to-use genealogy software...

 

Arbitrary Command Output Colourer 0.7.1

Downloads: 19 License: Freeware
Views: 630 Size: 41.0 KB
Date Released: 25 October, 2010


 Security code
Author: Ian Macdonald

acoc is a regular-expression based colour formatter for programs that display output on the command-line. It works as a wrapper around the target program, executing it and capturing the stdout stream. Optionally, stderr can be redirected to stdout, so that it, too, can be manipulated. acoc then applies matching rules to patterns in the output and applies colours to those matches. Ever wondered why the output of your favourite UNIX/Linux commands is still displayed in black-and-white after all these years? Ever had to search back through your scroll-buffer in search of gcc errors and salient information to tell you what went wrong with your programs execution? acoc is a regular expression based colour formatter for programs that display output on the command-line. It works as a wrapper around the target program, executing it and capturing the stdout stream. Optionally, stderr can be redirected to stdout, so that it, too, can be manipulated. acoc then applies matching rules to patterns in the output and applies colour sets to those matches. A picture is worth a thousand words, so look at the sample screenshots in the next section. Configuration The configuration files used by the program are /usr/local/etc/acoc.conf, /etc/acoc.conf and ~/acoc.conf. One or more of these must exist. A sample /etc/acoc.conf is supplied with some example matching rules. Blank lines and those that begin with a # are ignored. A program configuration stanza is introduced as follows: [program_spec] The square brackets are mandatory literal characters. Alternatively, the @ symbol may be used, to allow [ and ] to retain their usual semantics in program specs comprising a regular expression: @program_spec@ program_spec is defined as one or more instances of the following component, separated by a comma: invocation[/flags] where invocation consists of the programs name (not including its directory path component) plus any initial arguments. Alternatively, invocation may be a regular expression, which can be used to match multiple programs and/or command-line arguments in arbitrary order. Regular expressions are automatically anchored to the beginning of the command line. flags, if present, is separated from invocation by a slash and consists of one or more of the following characters: a continue to attempt to find matching patterns after the first match has been found. By default, acoc will stop processing a line and display it after the first match has been found. e redirect the target programs stderr to stdout, allowing it, too, to be matched by rules p allocate a pseudo-terminal in which to run the target program Some programs, such as ls(1), behave differently when their stdout is not connected to a tty. Use of this option will fool the target program into believing it is outputting to a tty, rather than a pipe to acoc. Use of this flag requires Masahiro Tomitas Ruby/TPty library to be installed. Otherwise, the flag is silently ignored. Note that the pseudo-terminal communication enabled by this flag is one-way only, from the target program to acoc. It is thus not possible to use acoc in combination with interactive programs, such as the interactive Ruby interpreter (irb). t apply colour formatting even if stdout is not a tty. By default, formatting is not applied if the output stream is not attached to a terminal. Heres an example of a line that introduces a configuration stanza: [rpm/ae,rpmbuild/ae] which says to apply the following rules to the rpm and rpmbuild commands, attempt to apply all matching rules, and also apply those rules to the programs stderr stream. Another example: [ls/p] This says to allocate a pseudo-terminal to ls(1), fooling it into believing that its output is being sent to a regular terminal instead of a pipe to acoc. With this flag, the effect will be this: $ ls file1 file2 file3 file4 file5 file6 Without it, ls will detect that its stdout is connected to a pipe and behave accordingly: $ ls file1 file2 file3 file4 file5 file6 A third example: [diff/t,rcsdiff/t,cvs diff/t,p4 diff/t] This says that the rules that follow should be applied to all invocations of diff(1) and rcsdiff(1), as well as those invocations of cvs(1) and p4 that are followed by the argument diff. Additionally, colouring should be applied even when stdout is not connected to a tty, so that the colours still show up when the output is displayed in a pager such as more(1) or less(1). Yet another example: /ps -.*(e.*f|f.*e)/ In this example, the ps(1) command will be matched, as long as the e and f options are both passed in either order. An alternative way to write the above spec is: @ps -.*[ef].*[ef]@ There are two things to note in this alternative: 1. @ has been used to delimit the spec, because [ and ] are required for the character lists in the regular expression. 2. While this form is less specific (in that it allows matches against duplicated command line options), it makes for considerably shorter specs if one wishes to test for the inclusion of a set of more than 2 or 3 command line flags. In the original form, one must manually list all of the possible permutations, which is equal to x! (factorial). For 3 command line flags, this is 6 permutations; for 4, it is 24, etc. Heres one more example: [tcpdump/r] If this were placed in ~/.acoc.conf, it would remove any matching rules that had been installed for the diff command by either /etc/acoc.conf or /usr/local/etc/acoc.conf. After defining the program name and operational flags, matching rules can be defined. These take the following form: /regex/[flags] colour_spec where regex is a Ruby-compatible regular expression. The delimiting / characters can be any character, as long as that character is not present in the regular expression itself. flags, if present, consists of one or more characters from the following list: g find every match on the line, not just the first. When using this flag, regex should not include parentheses. colour_spec is defined as a comma-separated list of one or more colour_groups, which are defined as a plus-separated (+) list of one or more of the following: * black * blink * blue * bold * clear * concealed * cyan * dark * green * italic * magenta * negative * on_black * on_blue * on_cyan * on_green * on_magenta * on_red * on_white * on_yellow * rapid_blink * red * reset * strikethrough * underline * underscore * white * yellow Examples of a colour_group are white+bold, black+on_white, etc. A complete colour_spec might look like this: red+bold,white,yellow+bold,black+on_green Except when using the g flag, each component of the regex that you wish to colour should be placed in parentheses. Text outside parentheses will be used for matching, but will not be coloured. For example, examine the following: /^(d+)foos*(w+)/ This will match a line that starts with more or one digits, followed by the string foo and any amount of white space, followed by one or more word characters. However, only the initial group of digits and the group of word characters will be coloured. The string foo and the white space that follows it will be used for matching, but will not be coloured. Separated from the regex by white space is the colour_spec. Usually, you will include in this as many colours (separated by commas) as you have parenthesised expressions in the regex. However, its also permissible to have fewer. If, for example, you have three parenthesised expressions in the regex, but only two colours listed in the colour_spec, then the second colour will be used for colouring both the second and third matches. If you have more colours listed in the colour_spec than there are parenthesised expressions in the regex, the surplus colours are ignored. When using the g flag to perform a global match on the line, you may list as many colours as you want. The same rules apply here. If there are more matches than colours, the remaining matches will be coloured using the last colour listed. Surplus colours are ignored..


Platform: Linux

Latest software from Ian Macdonald

  • Arbitrary Command Output Colourer 0.7.1 - acoc is a regular-expression based colour formatter for programs that display output on the command-line. It works as a wrapper around the target program, executing it and capturing the stdout stream.
  • Ruby/CorporateTime 0.4.9 - CorporateTime is a proprietary calendar server system produced by Oracle, who acquired the company that made it, Steltor. Ruby/CorporateTime is a Ruby language extension that serves as a wrapper to the CorporateTime Calendar API (CAPI).
  • Ruby/DICT 0.9.3 - Ruby/DICT is an RFC 2229 compliant client-side library implementation of the DICT protocol, written in the Ruby programming language.
  • Ruby/Finance 0.2.2 - Ruby/Finance allows access to changing financial data, such as stock quotes and currency conversion rates. For the foreseeable future, it is intended to be a port of Perls Finance::Quote module.
  • Ruby/Amazon 0.9.2 - Ruby/Amazon is a Ruby language library that allows programmatic access to the popular Amazon Web site via the REST (XML over HTTP) based Amazon Web Services. In addition to the original amazon.com site, the amazon.co.uk, amazon.de, amazon.fr, amazon.

Statement: 
Download Collection.com periodically updates software information of Arbitrary Command Output Colourer from the publisher Ian Macdonald. You can visit publisher website by clicking Homepage link. Software piracy is theft. Using Arbitrary Command Output Colourer crack, key, serial numbers, registration codes is illegal. The download file hosted at publisher website. We do not provide any download link points to Rapidshare, Hotfile, Depositfiles, Mediafire, Filefactory, etc. or obtained from file sharing programs such as Limewire, Kazaa, Imesh, Ares, BearShare, BitTorrent, WinMX etc.

User Reviews of Arbitrary Command Output Colourer

- required fields
     

Please enter text on the image

Arbitrary Command Output Colourer Related Downloads

Arbitrary Command Output Colourer 0 7 1 , Will Be , Matching Rules , Target Program , Regular Expression , Command Line , Output , Colour , Command , Acoc , Programs , Program , Arbitrary , Colourer , Console Fonts

  • Generic Protocol Framework 1.0 RC1 - Generic Protocol Framework aims to allow users to rapidly prototype different emerging communications protocols. Implementations can be easily "dropped in" and tested independant of a finished product.
  • SFSU Penaltybox 1.2.0 - The SFSU Penaltybox is a solution for high network traffic in residence halls. It implements a bandwidth quota, penalizing the users who cause most of the network congestion.
  • CGI::Cache 1.4200 - CGI::Cache is a Perl extension to help cache output of time-intensive CGI scripts. WARNING The interface as of version 1.01 has changed considerably and is NOT compatible with earlier versions.
  • AGNULA/DeMuDi 1.3.0 RC1 - AGNULA (acronym for A GNU/Linux Audio distribution, pronounced with a strong g) is the name of a project funded by the European Commission.
  • OpenCMS 7.0.0 - OpenCms is a professional level Open Source Website Content Management System. OpenCms helps to create and manage complex websites easily without knowledge of html.
  • Stream::Reader 0.09 - Stream::Reader is a stream reader Perl class.
  • Geo::Lookup::ByTime 0.0.2 - Geo::Lookup::ByTime is a Perl module to lookup location by time.
  • Ruby/Finance 0.2.2 - Ruby/Finance allows access to changing financial data, such as stock quotes and currency conversion rates. For the foreseeable future, it is intended to be a port of Perls Finance::Quote module.
  • Gnome Screen Ruler 0.8 - Gnome Screen Ruler project is a customizable screen ruler for Gnome. Gnome Screen Ruler is an on-screen ruler for measuring horizontal and vertical distances in any application. Rulers can be moved and resized using the keyboard.. linuxadvocate.

This category most popular freeware software

Input Output , Chmod Command , Remote Command , Runas Command Line , Command Line Interpreter , Ftp Command Line

  • Free Nokia Video Converter Factory - Free Nokia Video Converter Factory 3.0 is easy, fast, reliable, safe, and loaded with features.It's capable of converting videos of all pop formats like AVI, MPEG, WMV, FLV, MDV, 3GP, MP4, etc .
  • Azhagi - - Azhagi is a program that can transliterate English text into Tamil and vice versa. It can perform various transliterations either within its own interface, or in any version of Microsoft Word.
  • Sony Ericsson Media Manager - Sony Ericsson Media Manager 1.1 is a tool that allows you to enhance your Sony Ericsson phone's capabilities by providing amazing features.
  • DELL Webcam Manager - Dell webcam manager is a utility that lists and let you launch all webcam applications available from creative on your Dell portable, it includes the webcam console ( basic webcam usage), webcam center (basic and advanced usage) or webcam central (re
  • webcam snaps - webcam snaps is a Web cam utility to take snapshots using Web cam. This program is completely written in C. Using vfl and GTK. I hope this utility will be useful for those who wish to handle Web cam under GNU/Linux.
  • ADC Instruments USB Driver - Installing and Uninstalling the ADC Instruments USB Driver. This Software is a device driver that is used to control test and measurement instruments, which are made by ADC Corp., from a PC through a USB interface.
  • HTTP Anti Virus Proxy - HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. HTTP Anti Virus Proxy aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic.

Related categories