about summary refs log tree commit diff
path: root/contrib/lrocate
blob: 218691862fd0c0bdffc893c6dbc5d22365c40446 (plain) (blame)
1
2
3
4
5
#!/bin/sh
# lrocate [PATTERN] [LR OPTIONS...] - call lr(1) on locate(1) results

pattern=$1; shift
locate -0 "$pattern" | xe -0 -N0 lr -lG "$@"