Skip to content

Commit

Permalink
Update README.asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloantinori committed Sep 24, 2013
1 parent 06d49f6 commit bedec3a
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions README.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,36 @@ You can install it in *one of these ways*:

*h* is meant to consume the output of another Linux command via pipe

`
```
$ h
usage: YOUR_COMMAND | h [-i] [-d] args...
-i : ignore case
-d : disable regexp
`
```


=== Examples

`echo "abcdefghijklmnopqrstuvxywz" | h a b c d e f g h i j k l`
.Available colors
----
echo "abcdefghijklmnopqrstuvxywz" | h a b c d e f g h i j k l
----

or
.Support for `tail` in follow mode
----
tail -F | h keyword1 keyword2
----

`tail -F | h keyword1 keyword2`
.Case Insensitive
----
mvn clean install | h -i failure success
----

or
.Disable regular expression
----
tail -F my.log | h -d org.apache.camel
----

`mvn clean install | h FAILURE SUCCESS`

=== Screenshots

Expand Down

0 comments on commit bedec3a

Please sign in to comment.