Closed joshua-redfield closed 13 years ago
Think I may have figured out a fix, haven't tried it yet though. First I'll have to count how many words are in the string $lauf_exec, then check against each one for the word "for" with a count(So I can tell where the for is located $lauf_exec$count kind of thing). Then use parameter expansion ${lauf_exec%"$for_count $time_count"}. In theory this should work.
Fixed and closed.
Lauf will only run a single command without it's arguments for a duration of time, This means you can't do something like this ping google.com for 10s you can only something like gnome-system-monitor for 10s