Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 1997 18:36:05 -0600 (CST)
From:      jimbo@intcomm.net (Jim Bentley)
To:        freebsd-questions@freebsd.org
Subject:   csh scripting
Message-ID:  <199701230036.SAA01696@main.intcomm.net>

next in thread | raw e-mail | index | archive | help
When attempting to execute a foreach command in csh script the variables are
not set correctly.

foreach user (cat /usr/local/www/file.lst)

The user variable is set equal to "cat /usr/local/www/file.lst" instead of
the the data in the lines of the file.

Any ideas.
Thanks




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701230036.SAA01696>