> A ":" on it's own will do what you want. > > if [ "$remaining" = "" ] > then > : > else > kill -9 $remaining > fi > > But better would be > > if [ -n "$remaining" ] > then > kill -9 $remaining > fi > > thanks to all for the suggestions
Fri Feb 27 15:01:29 UTC 2009
Tom Brown <tom at ng23.net>
> A ":" on it's own will do what you want. > > if [ "$remaining" = "" ] > then > : > else > kill -9 $remaining > fi > > But better would be > > if [ -n "$remaining" ] > then > kill -9 $remaining > fi > > thanks to all for the suggestions