On Tue, Mar 07, 2000 at 11:50:46AM +0100, Akim Demaille wrote:
: | eval set $list
: | while test $# -gt 0; do
: |   echo $1
: |   shift
: | done
: 
: Excellent, thanks!  I think this is the best means to handle the list
: here.

The most elegant solution I found (can't give it a rest already! ;) is:

eval set $list
for elt in "$@"; do
  echo $elt
done

So there.  Now you won't get any more suggestions from me :)

  Lars J

Reply via email to