Subject: | |
From: | |
Reply To: | |
Date: | Tue, 5 Feb 2002 16:39:06 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Works great!
Thanks Mark,
-Pete
On February 5, 2002 04:29 pm, Mark Bixby wrote:
> Instead of escaping the interior quotes with \, double them instead:
> :print shtest
>
> xeq sh.hpbin.sys '-c "/BIXBY/PUB/SHPARMS foo ""a b c"" bar"'
>
> :print shparms
>
> #!/bin/sh
>
> echo "parm 1 = $1"
> echo "parm 2 = $2"
> echo "parm 3 = $3"
>
> :xeq shtest
>
> parm 1 = foo
> parm 2 = a b c
> parm 3 = bar
>
> - Mark B.
>
> Peter Osborne wrote:
> > Hello All,
> >
> > Quick question about the shell. I'm trying to do something like this from
> > an MPE prompt:
> >
> > sh.hpbin.sys '-c "cvs commit -R -m \"my cvs message\" " '
> >
> > But it doesn't like me using \" as a third level of quotes, is there a
> > way of getting more quote levels? I can't use the ` character as MPE
> > doesn't like it and the shell executes anything that use the backtick
> > quotes.
> >
> > Thanks,
> > -Pete
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|