commit 4158060
hovercats
·
2023-11-22 11:17:33 +0000 UTC
parent 3ae335f
alt-tab: use printf
1 files changed,
+2,
-2
+2,
-2
1@@ -6,11 +6,11 @@ switch($1) {
2 case p
3 wid=`{lsw | grep -v `{pfw} | sed '$ p;d'}
4 case *
5- echo 'Usage: n|p' && exit 1
6+ printf 'Usage: n|p\n' && exit 1
7 }
8
9 if (test -z $"wid) {
10- echo 'No window to focus on'
11+ printf 'No window to focus on\n'
12 exit 1
13 }
14 if not {