aboutsummaryrefslogtreecommitdiff
path: root/bin/u2d.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-06 14:25:39 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-06 14:26:06 +1300
commit0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d (patch)
tree124ccc28400bfa078f0a701e6610cbba9564a710 /bin/u2d.sh
parentSubstitute bad `continue` for `return` (diff)
downloaddotfiles-0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d.tar.gz
dotfiles-0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d.zip
Remove unneeded semicolon from sh "for VAR ; do"
It turns out the semicolon belongs to the "in" syntax, and is optional without it.
Diffstat (limited to 'bin/u2d.sh')
-rw-r--r--bin/u2d.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/u2d.sh b/bin/u2d.sh
index 31030341..cdbe9a33 100644
--- a/bin/u2d.sh
+++ b/bin/u2d.sh
@@ -10,7 +10,7 @@ fi
r=$(printf '\r')
# Iterate over arguments and apply the same ed(1) script to each of them
-for fn ; do
+for fn do
# Note the heredoc WORD is intentionally unquoted because we want to expand
# $r within it to get a literal carriage return; the escape characters