From 2de31b28548f379ef2fd5f2e17c9769660a0ebb5 Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 10 Aug 2023 10:51:22 -0500 Subject: Use printf instead of echo --- bm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bm') diff --git a/bm b/bm index dc02f6f..3410993 100755 --- a/bm +++ b/bm @@ -117,7 +117,7 @@ if [ -z "$CLIPB$BRA$BSC$FDC$FFC$LWC$MBC$QBC" ]; then echo "$BROWSERSINSTALLED" [ -z "$BROWSERSINSTALLED" ] && \ printf "No suitable browsers!\n" && exit 1 - BROWSERSEL="$(echo "$BROWSERSINSTALLED" | $DMENU $DEFARGS $ARG)" + BROWSERSEL="$(printf "$BROWSERSINSTALLED" | $DMENU $DEFARGS $ARG)" [ -z "$BROWSERSEL" ] && \ printf "No browser selected!\n" && exit 1 case "$BROWSERSEL" in -- cgit v1.2.3