diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-09 11:58:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-09 11:59:30 +1300 |
commit | a2f9d7b022ddcb34564b75cecfc4bc371c79ba5f (patch) | |
tree | 1789f726cebbbe08e42fb1cf1fa378b712ecd161 /bin/loc | |
parent | Prevent man(1) completion interfering with paths (diff) | |
download | dotfiles-a2f9d7b022ddcb34564b75cecfc4bc371c79ba5f.tar.gz dotfiles-a2f9d7b022ddcb34564b75cecfc4bc371c79ba5f.zip |
Break long line in loc(1df)
Diffstat (limited to 'bin/loc')
-rwxr-xr-x | bin/loc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,5 +4,7 @@ if [ "$#" -eq 0 ] ; then exit 2 fi for pat ; do - find . -name '.*' ! -name '.' -prune -o -name '*'"$pat"'*' -prune -print + find . \ + -name .\* ! -name . -prune -o \ + -name \*"$pat"\* -prune -print done |