View Single Post
Old 04-26-2012, 03:25 AM   #36
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
Quote:
Originally Posted by drauger View Post
OK, let's try to be creative
This code will be executing untill you press DOWN key:
You could also do this with
Code:
while [[ `ps $W | wc -l` -eq 2 ]]
or
Code:
while pgrep -s $W > /dev/null
(kindle untested)
MaPePeR is offline   Reply With Quote