Recently Written · git

sbm-suckless

sbm before the rewrite: bookmarks in a plain file, picked with dmenu. Suckless style.

git clone https://github.com/equwal/sbm-suckless

Log | Files | Refs


commit 805d1e939219754e77114aeb9bddb75144e941b3
Tom Schwindl <schwindl@posteo.de>
2023-08-31 23:09:39 +0200

use printf(1) instead of echo(1) in help()

 bm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bm b/bm
index 42a42a1..b0db49e 100755
--- a/bm
+++ b/bm
@@ -12,9 +12,8 @@ check () {
 }
 
 help () {
-    echo "Call without an argument to be prompted with dmenu."
-    echo "Flags:"
-    echo '-h, --help\n-c, --copy\n-a, --add\n-e, --edit'
+    printf 'Call without an argument to be prompted with dmenu.\n'
+    printf 'Flags:\n-h, --help\n-c, --copy\n-a, --add\n-e, --edit\n'
 }
 
 copy () {