diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-07-27 14:09:10 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-07-27 14:09:10 +0200 |
commit | edb2abe085f47b35c9379ee6deccf9223cb95d21 (patch) | |
tree | b768ee0bf86a52b8aba395713dd9457639f80d3f /README.md | |
parent | a6f21a1f4e70a1db354c9927c4b3938759faf033 (diff) | |
download | lr-edb2abe085f47b35c9379ee6deccf9223cb95d21.tar.gz lr-edb2abe085f47b35c9379ee6deccf9223cb95d21.tar.xz lr-edb2abe085f47b35c9379ee6deccf9223cb95d21.zip |
lr: add action "color <num>" to override colors
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md index d423dcd..b9d3d1a 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ Default: `n`. | <modetest> | prune -- do not traverse into subdirectories | print -- always true value + | color <num> -- always true value, override 256-color <timeprop> ::= atime | ctime | mtime @@ -292,6 +293,12 @@ List directory total sizes, indented: 0 .git/refs/tags ``` +List all files, but print them in red if they match "havoc": + +``` +% lr -G -t 'name =~ "havoc" && color 160 || print' +``` + ## Installation Use `make all` to build, `make install` to install relative to `PREFIX` |