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 debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55989e72.3080...@longlandclan.yi.org

Reply via email to