From: Robert Watson Date: Thu, 22 Sep 2005 14:32:43 GMT Subject: uncommon shell code Message-ID: <72499e3b05092207326abadd91@mail.gmail.com> Hi, I found the following shell code in git-tag.sh (and others): while case "$#" in 0) break ;; esac do ... done Why not use the straight forward code: while test "$#" -ne 0 do ... done Are there any functional difference between them? Robertoo