[hackers] [xssstate] Pass parameters over to cmd, e.g.: || Phil Pirozhkov

From: <git_AT_suckless.org>
Date: Tue, 14 Oct 2014 19:09:30 +0200

commit f58232beb295b70a15a93c75414781a80fe542cd
Author: Phil Pirozhkov <pirjsuka_AT_gmail.com>
Date: Sat Oct 11 11:42:47 2014 +0400

    Pass parameters over to cmd, e.g.:
    
        xsidle.sh ls -l /usr
    
    Signed-off-by: Christoph Lohmann <20h_AT_r-36.net>

diff --git a/xsidle.sh b/xsidle.sh
index 35278bc..cc3b2a4 100755
--- a/xsidle.sh
+++ b/xsidle.sh
_AT_@ -8,7 +8,7 @@ then
         printf "usage: %s cmd\n" "$(basename $0)" 2>&1
         exit 1
 fi
-cmd="$1"
+cmd="$_AT_"
 
 while true
 do
Received on Tue Oct 14 2014 - 19:09:30 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 14 2014 - 19:12:08 CEST