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

Re: word too long error



On Thu, 03 Sep 1998, josri wrote:

>Can I get that file alone somewhere? Is it enough if I do that?
>Thanks once again

Sure; /usr/bin/test is in the sh-utils rpm.

But what I don't get from reading this thread is how you managed to 
screw things up. Were you in /usr/bin (as root) when you typed in
that cdparanoia line? I would find it strange if you had been,
actually. If however you happened to be somewhere else, like your
home directory, then I'd check your $PATH to see how it is set up. In
particular, I would remove any instances of '.' in the $PATH. It may
be that the shell is attempting to execute this really long thing in
there called 'test' before /usr/bin/test. That would also explain the
"]: command not found". Strictly speaking, "]" is of course, not
a command; however, the test binary is usually invoked as something
like:

if [ -f /home/foo ] then
  do something
fi

and the "[" is a link to /usr/bin/test, which reads the following
arguments, and swallows the "]", and then takes whatever actions
are necessary. 

>jo

--
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
dfox belvdere vip best com   the              change magnetic patterns
root belvedere sbay org      churches         on your hard disk.
-----------------------------------------------------------------------



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