From 793ec2ad24ca8e4262cee86bd1aa38ea991fef24 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 4 Aug 2014 04:02:55 +0400 Subject: [PATCH] Use cat I admit it looks like a classic useless use of cat. But see the script "pull". --- do-all | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/do-all b/do-all index bededfb..5f5a226 100755 --- a/do-all +++ b/do-all @@ -2,10 +2,11 @@ prog_dir="`dirname \"$0\"`" && +cat "$prog_dir"/locate-all.list | while true; do read d || exit 0 if ! test -d "$d"; then continue; fi test -d "$d"/.git && g="$d"/.git || g="$d" b="`basename \"$d\" .git`" eval "$@" -done < "$prog_dir"/locate-all.list +done -- 2.39.5