aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-01-24 17:48:52 +0100
committerVG <vg@devys.org>2016-01-24 17:48:52 +0100
commite4af2866cdf0a99b3cc5a1b4552329d3c59d15e2 (patch)
treeb9fb5b953c942b76efc70b748769a480f42f08d0
parentf75da192a5ed4a558101cb226bbeec98093533af (diff)
downloadbulkrename-e4af2866cdf0a99b3cc5a1b4552329d3c59d15e2.tar.gz
bulkrename-e4af2866cdf0a99b3cc5a1b4552329d3c59d15e2.tar.bz2
bulkrename-e4af2866cdf0a99b3cc5a1b4552329d3c59d15e2.zip
fix a bug if arguments contain a '%'
-rwxr-xr-xbulkrename2
1 files changed, 1 insertions, 1 deletions
diff --git a/bulkrename b/bulkrename
index 308b538..5a5c9d1 100755
--- a/bulkrename
+++ b/bulkrename
@@ -5,7 +5,7 @@
set -e -u
if [ $# -ne 0 ] ; then
- { for i in "$@" ; do printf "$i\n" ; done } | "$0"
+ { for i in "$@" ; do printf "%s\n" "$i" ; done } | "$0"
exit
fi