uncommon shell code
From: Robert Watson <hidden>
Date: 2016-06-15 22:42:07
From: Robert Watson <hidden>
Date: 2016-06-15 22:42:07
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