|
From: Greg C. <chi...@co...> - 2006-01-22 19:05:38
|
On 2006-1-22 18:44 UTC, wolfgang haefelinger wrote:
>
> I'm a bit puzzled by my MSYS 1.0 installation.
>
> $ grep --version
> grep (GNU grep) 2.4.2
>
> $ find -type f -exec grep xxx '{}' \;
> find: grep: No such file or directory
>
> $ echo $PATH
> c:/opt/visual
> cxx/2003/bin:/opt/jdk32/142_06/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/WINDO
> WS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem
>
> Looks like "visual cxx", i.e. the directory name with a blank,
> causes this problem. Everthing works fine removing path
>
> c:/opt/visual cxx/2003/bin
>
> from $PATH.
Are you sure that's a blank? Looks like a carriage return or newline.
I tried this
$export PATH=.:/usr/local/bin:/c/Program\ Files/:/c/WINDOWS/:/bin
$echo $PATH
.:/usr/local/bin:/c/Program Files/:/c/WINDOWS/:/bin
and the command you gave above ran the same way it did before.
Anyway, if you use an underscore instead of whitespace in that path,
you might save a lot of grief.
|