I have a script that I call via Cron.

It wont work unless I include a path:

export $PATH

which is fine and works. Out of curiosity though, why is it that if I
call it from the cl like ./test.sh I get this error:

./test.sh: line 3: export:
`/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin': not a
valid identifier

The script still works but it does drop that error.

What does it mean?

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to