Did grep change it's syntax? I need to know...

James Wilkinson fedora at westexe.demon.co.uk
Tue Nov 8 13:46:59 UTC 2005


I wrote:
> Works fine here, on FC4 (x86_84). Do you have LANG or LC_* set?
> set | grep LANG
> set | grep LC_
> 
> I understand that the ${dir}$1.$$ file is correctly created: you might
> want to have commands after the /bin/mail and before the fi to append
> the date, filename and file contents into a log file somewhere. That way
> you can be pretty sure that everything is working until the /bin/mail.

You might want to direct the set | grep commands to the log file: that
way you know how the environment is set, and you're not guessing.

Come to that, just 
set >> $logfile

Hope this helps,

James.

-- 
E-mail address: james | "But alas, we don't need a car, so I have a bus
@westexe.demon.co.uk  | timetable and one day the buses will read it too."
                      |     -- Telsa Gwynne




More information about the fedora-list mailing list