--- Eric Blake wrote:
> According to Dave on 1/3/2006 2:03 PM:
> >>
> >>the here-doc correctly preserved the input string. So applying that to
> >>the above problem, the registry entry MIGHT work (untested by me) if it is
> >>written as:
> >>
> >>SHELL_CMD="-l -c \\\"xargs -0 cd << 'EOF'\n%L\nEOF
Eric Blake byu.net> writes:
>
> Sorry, but I don't know ANY portable construct that works in all 4 cygwin
> shells (ash, bash, zsh, and pdksh).
>
> Plus there is still the matter of translating a valid command line into a
> registry entry that Windows can parse; I don't know if you can embed
> n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Dave on 1/3/2006 2:03 PM:
>>
>>the here-doc correctly preserved the input string. So applying that to
>>the above problem, the registry entry MIGHT work (untested by me) if it is
>>written as:
>>
>>SHELL_CMD="-l -c \\\"xargs -0 cd << 'EOF
Eric said:
>According to Tom Plunket on 12/23/2005 11:48 PM:
>>
>>SHELL_CMD="-l -c \\\"cd '%L'; exec $SHELL_EXE\\\""
>>
>> As you can see, this is clearly "wrong" for folders with a
>> single-quote mark in them.
>>
>> My local fix was just to edit the registry and change '%L' to "%L".
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Tom Plunket on 12/23/2005 11:48 PM:
>
>SHELL_CMD="-l -c \\\"cd '%L'; exec $SHELL_EXE\\\""
>
> As you can see, this is clearly "wrong" for folders with a
> single-quote mark in them.
>
> My local fix was just to edit the registry
5 matches
Mail list logo