From a2f9d7b022ddcb34564b75cecfc4bc371c79ba5f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 9 Dec 2016 11:58:07 +1300 Subject: Break long line in loc(1df) --- bin/loc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/loc') diff --git a/bin/loc b/bin/loc index 813196c8..7f4ac1fa 100755 --- a/bin/loc +++ b/bin/loc @@ -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 -- cgit v1.2.3