Re: chere problem with directories with single quote marks

2006-01-05 Thread Dave
--- 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

Re: chere problem with directories with single quote marks

2006-01-04 Thread Eric Blake
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

Re: chere problem with directories with single quote marks

2006-01-04 Thread Eric Blake
-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

Re: chere problem with directories with single quote marks

2006-01-03 Thread Dave
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". >>

Re: chere problem with directories with single quote marks

2005-12-24 Thread Eric Blake
-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

chere problem with directories with single quote marks

2005-12-23 Thread Tom Plunket
Hey gang, So I started having this little issue with chere, where every once in a while the startup fails. I go to the parent folder, and it works just dandy. I actually bothered to think about the problem today, and it has to do with the way the folder name is quoted. I use bash, and here's th