sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e7bf69a2e55a8aab9276a9e5e9316e095e41e629
parent 0066c340629129e5e3f70d0ab13249731106cdbd
Author: Nico Golde <nico@ngolde.de>
Date:   Wed, 20 Jun 2012 23:05:17 +0200

fix bashism and missing & in ii bot examples
Diffstat:
Mtools.suckless.org/ii/bots.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools.suckless.org/ii/bots.md b/tools.suckless.org/ii/bots.md @@ -27,11 +27,11 @@ Automatic reconnects If you want some kind of automatic reconnects in ii you can make a something like this in a shell script: while true; do - ii -s irc.oftc.net -n iifoo -f "John Doe" + ii -s irc.oftc.net -n iifoo -f "John Doe" & iipid=$! sleep 5 echo "/j #ii" > ~/irc/irc.oftc.net/in - while [[ -e /proc/$iipid ]]; do + while [ -e "/proc/$iipid" ]; do sleep 30 done done