about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-11-28 22:11:27 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-11-28 22:11:27 +0100
commit2e3e51de6b370e03752b215b05599155bf117941 (patch)
tree494233b164f4d4ab3cb0d6f9508e12d7598c74db /README.md
parent823fe1390a57a54fb595578de86c72a9d4c59f38 (diff)
downloadlr-2e3e51de6b370e03752b215b05599155bf117941.tar.gz
lr-2e3e51de6b370e03752b215b05599155bf117941.tar.xz
lr-2e3e51de6b370e03752b215b05599155bf117941.zip
README.md: add nice example of lr/xe.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index bfdcdc8..e5d3f36 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ Over ls:
 * `find -L /proc/*/fd -maxdepth 1 -type f -links 0 -printf '%b %p\n'`:
 `lr -UL1 -t 'type == f && links == 0' -f '%b %p\n' /proc/*/fd`
 * `find "${@:-.}" -name HEAD -execdir sh -c 'git rev-parse --resolve-git-dir . >/dev/null 2>/dev/null && pwd' ';'`: `lr -0U -t 'name == "HEAD"' "$@" | xe -0 -s 'cd ${1%/*} && git rev-parse --resolve-git-dir . >/dev/null && pwd; true' 2>/dev/null`
+* Filter list of files for existence: `xe lr -dQU <list`
 
 ## Usage: