This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: "Accent problem" still not fixed in current cygwin release


On Mon, Aug 14, 2000 at 04:21:29AM +0200, Andreas Eibach wrote:
> I can't even write a primitive shell script in this thing because I don't
> have the inverted apostroph I need to _execute_ unix commands, eg
> 
> cp -p $1 `echo $2 | sed 's/foo/bar//g'`

I'm sure that this won't solve all of your problems, but why not use the
equivalent "$(...)" syntax:

    cp -p $1 $(echo $2 | sed 's/foo/bar//g')

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]