diff options
author | mbornet-hl <mbornet.pro@wanadoo.fr> | 2015-04-04 20:55:25 +0200 |
---|---|---|
committer | mbornet-hl <mbornet.pro@wanadoo.fr> | 2015-04-04 20:55:25 +0200 |
commit | b237a2b84a800efbf2cf2643a9773750e969155f (patch) | |
tree | 3ee436f14484914b812bb8b89464bfebe5275d85 | |
parent | 889c6aca3cb8cfb600bb9de8e5d8af6a5943b09e (diff) | |
download | hl-b237a2b84a800efbf2cf2643a9773750e969155f.zip hl-b237a2b84a800efbf2cf2643a9773750e969155f.tar.gz hl-b237a2b84a800efbf2cf2643a9773750e969155f.tar.bz2 |
Updated README.txt
-rw-r--r-- | README.txt | 94 |
1 files changed, 47 insertions, 47 deletions
@@ -1,52 +1,52 @@ # -# hl command : -# ~~~~~~~~~~~~ +# hl command : +# ~~~~~~~~~~~~ # -# This command uses regcomp() and regexec() to colorize (highlight) strings from stdin -# using options on the command line. +# This command uses regcomp() and regexec() to colorize (highlight) +# strings from stdin using options on the command line. # -# Usage : +# Usage : # -# hl: version 1.20 -# Usage: hl [-h|-eidD][-E][-rgybmcwRGYBMCW] regexp ... -# -h : help -# -v : version -# -u : do not bufferize output on stdout -# -e : extended regular expressions -# -i : ignore case -# -E : print on stderr -# -r : red -# -g : green -# -y : yellow -# -b : blue -# -m : magenta -# -c : cyan -# -w : white -# -R : red (reverse video) -# -G : green (reverse video) -# -Y : yellow (reverse video) -# -B : blue (reverse video) -# -M : magenta (reverse video) -# -C : cyan (reverse video) -# -W : white (reverse video) -# -d : debug -# -D : display regular expressions +# hl: version 1.22 +# Usage: hl [-h|-eidD][-E][-rgybmcwRGYBMCW] regexp ... +# -h : help +# -v : version +# -u : do not bufferize output on stdout +# -e : extended regular expressions +# -i : ignore case +# -E : print on stderr +# -r : red +# -g : green +# -y : yellow +# -b : blue +# -m : magenta +# -c : cyan +# -w : white +# -R : red (reverse video) +# -G : green (reverse video) +# -Y : yellow (reverse video) +# -B : blue (reverse video) +# -M : magenta (reverse video) +# -C : cyan (reverse video) +# -W : white (reverse video) +# -d : debug +# -D : display regular expressions # -# Example : -# -# -# -# /sbin/ifconfig -a hl -ei -m '^(eth|(vir)?br|vnet)[0-9.]*:[0-9]+\>' \ -# -b '^(eth|(vir)?br|vnet)[0-9.]*\.[0-9]+\>' \ -# -c '([0-9a-f]{2}:){5}[0-9a-f]{2}' \ -# -g '\<UP\>|\<RUNNING\>|([0-9]{1,3}\.){3}[0-9]{1,3}\>' \ -# -y '^(eth|(vir)?br|vnet)[0-9.:]*\>' -# -# cat firewall_rules | hl -e -c INPUT \ -# -y 'FORWARD|POSTROUTING' \ -# -b '#.*' \ -# -W 'OUTPUT' \ -# -g '.*ACCEPT.*' \ -# -r '.*(DROP|REJECT).*' \ -# -m 'iptables.*-F.*' \ -# -w '^iptables .*' +# Example : +# +# +# +# /sbin/ifconfig -a hl -ei -m '^(eth|(vir)?br|vnet)[0-9.]*:[0-9]+\>' \ +# -b '^(eth|(vir)?br|vnet)[0-9.]*\.[0-9]+\>' \ +# -c '([0-9a-f]{2}:){5}[0-9a-f]{2}' \ +# -g '\<UP\>|\<RUNNING\>|([0-9]{1,3}\.){3}[0-9]{1,3}\>' \ +# -y '^(eth|(vir)?br|vnet)[0-9.:]*\>' +# +# cat firewall_rules | hl -e -c INPUT \ +# -y 'FORWARD|POSTROUTING' \ +# -b '#.*' \ +# -W 'OUTPUT' \ +# -g '.*ACCEPT.*' \ +# -r '.*(DROP|REJECT).*' \ +# -m 'iptables.*-F.*' \ +# -w '^iptables .*' |