On Tue, Mar 07, 2000 at 10:37:29AM +0100, Akim Demaille wrote:
: In fact, can someone teach me (point me to a good example) how to
: split strings such as
: 
: list="'first element' 'second' 'third one'"
: for elt in $list

I managed to make this work:

eval set $list
while test $# -gt 0; do
  echo $1
  shift
done
| first element
| second
| third one

  Lars J

Reply via email to