On 01/05/15 22:44, Daniel Bareiro wrote:
> while [ "$1" != "" ]; do

Another useful way to do this: $# is the number of arguments on the
command line.  You can do [ $# -gt 0 ] to test when the arguments have
been consumed.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to