[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: count
From: |
Krem |
Subject: |
Re: count |
Date: |
Mon, 21 Dec 2015 10:07:38 -0700 (MST) |
Here is another problem with the following script
find . \( -iname '*.txt' -o -iname '*.csv' \) -exec bash -c '
for f; do
IFS=/ read -ra part <<< "$f"
printf "%-10.10s %-10.10s %-20.20s %5d\n" \
"${part[1]}" "${part[2]}" "${part[3]}" "$(wc -l < "$f")"
done
' _ {} +
_: -c: line 0: unexpected EOF while looking for matching `"'
_: -c: line 1: syntax error: unexpected end of file
--
View this message in context:
http://gnu-bash.2382.n7.nabble.com/count-tp16675p16702.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.
Re: count, John McKown, 2015/12/21
- Re: count, Greg Wooledge, 2015/12/21
- Re: count, John McKown, 2015/12/21
- Re: count, Krem, 2015/12/21
- Re: count, Greg Wooledge, 2015/12/21
- Re: count, John McKown, 2015/12/21
- Re: count, Krem, 2015/12/21
- Re: count,
Krem <=