RE: dumb escaping question when using Cygwin + NT commands

2002-09-19 Thread Scott Prive
Yes that helped; thanks. > -Original Message- > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 19, 2002 12:00 PM > To: Scott Prive > Cc: [EMAIL PROTECTED] > Subject: RE: dumb escaping question when using Cygwin + NT commands > >

RE: dumb escaping question when using Cygwin + NT commands

2002-09-19 Thread Randall R Schulz
Scott, [ This is off-topic for the Cygwin list, since it has nothing to do with Cygwin per se, but I feel the need to correct misconceptions for other newcomers to a Unix / POSIX (-like) environment, so I'm replying to the list, not just Scott. -- Randall ] At 08:12 2002-09-19, Scott Prive w

RE: dumb escaping question when using Cygwin + NT commands

2002-09-19 Thread Igor Pechtchanski
$4" "$5" or, better yet, [ $# -eq 5 ] || (echo "Invalid number of arguments" >&2 && exit 2) net "$@" echo "we saw in mount_drive2: $@" Hope this helps. Igor On Thu, 19 Sep 2002, Scott Prive wrote: > > -Origin

RE: dumb escaping question when using Cygwin + NT commands

2002-09-19 Thread Scott Prive
> -Original Message- > From: Randall R Schulz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 6:30 PM > To: [EMAIL PROTECTED] > Subject: Re: dumb escaping question when using Cygwin + NT commands > > > Scott, > > At 15:15 2002-09-18,

Re: dumb escaping question when using Cygwin + NT commands

2002-09-18 Thread Randall R Schulz
Scott, At 15:15 2002-09-18, Scott Prive wrote: >Hello, > >I get this odd problem when calling NT commands from Cygwin. I am >single-quoting the data, but the way I'm doing things (probably wrong...) >does not like passing $1 function arguments to NT commands. If I hardcode >the arguments inte

dumb escaping question when using Cygwin + NT commands

2002-09-18 Thread Scott Prive
Hello, I get this odd problem when calling NT commands from Cygwin. I am single-quoting the data, but the way I'm doing things (probably wrong...) does not like passing $1 function arguments to NT commands. If I hardcode the arguments internally, everything works. The two example functions b