Skip to content

Commit 0ee256b

Browse files
author
emmett1
committed
fix
1 parent 424c56f commit 0ee256b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scratch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ for opt in $@; do
12091209
-*) char=${#opt}; count=1
12101210
while [ "$count" != "$char" ]; do
12111211
count=$((count+1))
1212-
MAINOPTS="$MAINOPTS -$(echo $opt | cut -c $count)"
1212+
MAINOPTS="$MAINOPTS -$(printf '%s' $opt | cut -c $count)"
12131213
done;;
12141214
*) MAINOPTS="$MAINOPTS $opt";;
12151215
esac

0 commit comments

Comments
 (0)