Re: Function visibility

2007-10-01 Thread retiredff
On Monday 01 October 2007, retiredff wrote: > I have several functions in my /etc/profile (Mac OSX 10.4.9). I can use > the > functions at the commandline, however inside of scripts I receive an > error. > I'll use an example of a function I have called cecho that echo

Function visibility

2007-10-01 Thread retiredff
I have several functions in my /etc/profile (Mac OSX 10.4.9). I can use the functions at the commandline, however inside of scripts I receive an error. I'll use an example of a function I have called cecho that echo's a string in a color that is passed in $2, $1 has the string: ./maintenance: li