about summary refs log tree commit diff
path: root/xoptdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xoptdiff')
-rwxr-xr-xxoptdiff2
1 files changed, 1 insertions, 1 deletions
diff --git a/xoptdiff b/xoptdiff
index a3355d1..cfee63d 100755
--- a/xoptdiff
+++ b/xoptdiff
@@ -12,7 +12,7 @@ fi
 if [ $# -eq 0 ]; then
 	xbps-query -p build-options -s '' | sed 's/^\([^ ]*\)-.*/\1/'
 else
-	echo "$@" | tr ' ' '\n'
+	printf '%s\n' "$@"
 fi | while read pkg; do
 	comm -23 <(./xbps-src show-options $pkg 2>/dev/null |
 			sed -n '/\(ON\)/s/ *\([^ ]*\):.*/\1/p;