[HPADM] remsh quoting problem

From: Bob Brown (bbrown@harpercollege.edu)
Date: Tue Feb 06 2007 - 12:41:25 EST


I need to remsh to a host and pass it some parameters...including one
that needs quotes.

an example of what I need to pass:

/usr/bin/np -n 'test from host' -Pletter2 -qa101ld5 < /root/ptest

It all seems to work...(surrounding it all with double
quotes)...except that the single quotes
get gobbled up and openspool gets confused.
I've tried escaping the single-quotes and that doesn't help... How
can I make this work?

thanks.

-Bob

-- 
bbrown@harpercollege.edu   ####  ####    Bob Brown - KB9LFR
Harper Community College   ##  ##  ##    Systems Administrator
Palatine IL USA            ####  ####    Saved by grace
--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:55 EDT