backslash and backslash backslash

Richardson, Anthony M. ar63@evansville.edu
Fri Feb 2 09:52:00 GMT 2001


Umm. I don't think piping into read works
either. (At least it doesn't for me.) I think
it is because you set the variable in a subshell
but not in the parent shell where you need it.
Use
 mypath=$(cygpath -was 1ドル)
or
 mypath=`cygpath -was 1ドル`
instead.
Regards,
Tony Richardson
> -----Original Message-----
> From: Bernard Dautrevaux [ mailto:Dautrevaux@microprocess.com ]
> Sent: Friday, February 02, 2001 11:25 AM
> To: 'Wilson Farrell'; cygwin@cygwin.com
> Subject: RE: backslash and backslash backslash
>>> > -----Original Message-----
> > From: Wilson Farrell [ mailto:wfarrell@bbn.com ]
> > Sent: Friday, February 02, 2001 5:56 PM
> > To: cygwin@cygwin.com
> > Subject: backslash and backslash backslash
> > 
> > 
> > In an attempt to access Netscape's sendto from cygwin I 
> > created a simple
> > script:
> > 
> > sendto.sh
> > -------
> > #!/bin/bash
> > 
> > /usr/bin/cygpath.exe -aw 1ドル; read mypath
> > 
> > /cygdrive/c/Apps/Netscape/Program/sendto32.exe $mypath
>> I'd rather try:
>> 	/cygdrive/c/Apps/Netscape/Program/sendto32.exe 
> `/usr/bin/cygpath.exe
> -aw 1ドル`
>> but in any case you should use:
>> 	/usr/bin/cygpath.exe -aw 1ドル | read mypath
>> Regards,
>> 	Bernard

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /