On 21:19 31 Jan 2002, Nick Wilson <[EMAIL PROTECTED]> wrote:
| Okay, I've been messing around with the locale chooser in KDE and I
| /think/ that's when the trouble started. It looks like it's actually
| looking for a command ':' and it spits out that 'command not found' msg
| on anything to do with rc3.d during startup and shutdown.
No, it's looking for a command "". The ":" is _after_ the command name.
Normally the error would look like:
bash: foo: command not found
Typical causes for this are variables nnot set, yet being used.
For example, a script saying:
"$cmdvar" blah blah blah
where $cmdvar is expected to hold the name of a command, but hasn't been
initialised. There are a few other possibilities too.
If you have an example script which will produce this error message
then the best was to diagnose it is to go:
bash -vx the_script
The -v recites script lines as they are read, and the -x recites commands
as they are issued. You should thus see the shell line which causes the
error, the bogus command issued, and the error in theat order, yileding
a clue to the cause.
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
The wicked man shall be punished for his own wickedness, for he shall never
find inner peace and will seldom be given the really good tables at tearooms.
- Gardner
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list