Re: how to suppres warning [message #62976 is a reply to message #62975] |
Wed, 22 October 2008 07:53   |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Mark wrote:
> Well, as long as this topic has come up....
>
> In alot of my code (running bash on unix) I get this warning printed
> to the screen:
>
> bash: defaults: command not found
>
> along with other occasional warnings that bash isn't happy for some
> reason I can't comprehend.
>
>
> I really have no idea at what point in the code(s) that this warning
> originates from, but since everything works fine I'd just as soon
> suppress it. Does anyone know how this might be done easily, either in
> IDL or unix?
Err...this is also off-topic, but don't you have any curiosity to find out what is causing
the problem? With google at your fingertips it's easy to get at least an idea if not the
outright answer. E.g. Have you checked your .profile, .login, .bashrc, .bash_profile, or
the various /etc forms of those files to see where the "defaults" command is being called,
why is it being called, and why it isn't in your path?
You know, this topic reminds me of callers to the NPR show "Car Talk". People describe
these sometimes bizarre things that are happening (noises, shaking, other weird stuff) as
they drive their cars. The inevitable question "How long has this been going on?" comes up
and the answers typically range from several weeks to months in some cases. It never
ceases to amaze me what people will put up with. :o)
cheers,
paulv
|
|
|