On 10/04/2006, at 12:39 AM, Jan Grant wrote:
On Sun, 9 Apr 2006, Malcolm Fitzgerald wrote:
I'm trying to follow the instructions at
At point four it offers this shell script.
cut -f 1 -d '$' /usr/local/freebsd-update/work/md5all | uniq |
while read X; do
if [ -f $X ]; then echo $X; fi;
done | sort > /root/base-old
Running this from root shell in konsole (bash) I get "while:
Syntax". The various hints and clues I get from the shell, the web
bash haven't helped me. Would someone provide the correct syntax for
That syntax is correct for sh and bash; you're not running it, however.
Double-check that after you su to root, you're really running bash.
error is what csh will tell you.
You are right. My user konsole is bash and I presumed that root console
was too but asking $0 returned su, so I was guessing.
Thanks for the help
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"