Skip to content

Commit

Permalink
misc: put 'do' on the same line as 'do'/'while'
Browse files Browse the repository at this point in the history
  • Loading branch information
austin987 committed Nov 26, 2019
1 parent 743a135 commit 6c766e1
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 140 deletions.
5 changes: 3 additions & 2 deletions src/uniquefiles.sh
Expand Up @@ -20,7 +20,8 @@ fi

# Generate list of all filenames (except those which look ephemeral)
rm -f /tmp/allfiles.txt
for dir ; do

for dir; do
(
cd "$dir/drive_c"
# FIXME: don't assume there are no ='s in filenames, e.g. rewrite in perl
Expand All @@ -33,7 +34,7 @@ done
sort < /tmp/allfiles.txt | uniq -c | awk '$1 == 1 {print $2}' > /tmp/uniqfiles.txt

# Associate them with the verb they came from
for dir ; do
for dir; do
(
cd "$dir"
# Undo the space-to-= transformation, too
Expand Down

0 comments on commit 6c766e1

Please sign in to comment.