[colug-432] Script basic

R P Herrold herrold at owlriver.com
Wed May 13 14:22:02 EDT 2015


On Wed, 13 May 2015, Steve VanSlyck wrote:

> Yes, I have seen it before, now you mention it. Seems my old windows
> machines always started with PATH=.;... Or at least I seem to remember

an easy way to do this is do a quick save and exit, and then
	set | grep "^PATH" >> name-of-script.sh

which has the nice effect of also making the script more 
'cron' ready

"^M" are Windows artifact carriage returns (hex: 0d) as I 
recall -- kill 'em, as they may be taken as 'whitespace'

-- R




More information about the colug-432 mailing list