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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux