Subject: | |
From: | |
Reply To: | Shahan, Ray |
Date: | Thu, 28 Jun 2001 13:13:14 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Will two bangs work? ECHO !!variable
> -----Original Message-----
> From: Simonsen, Larry [SMTP:[log in to unmask]]
> Sent: Thursday, June 28, 2001 12:41 PM
> To: [log in to unmask]
> Subject: echoing strings to a file
>
> This has worked well in the past now I have a special case
> The string I am echoing for a script input to a program has a single
> greater
> than character in it. the string is
> Subject: from: #S494LARRY,MGR.VALPAC<MGR.VALPAC>
>
> I use the command
> echo Subject: !mail_subject >>*mailflm
>
> since the string variable has a greater than the command interpreter
> seems
> to try and input from that file and the group does not exist hence the
> error
> (watch for the wrap on the command)
> echo Subject: from: #S494LARRY,MGR.VALPAC<MGR.VALPAC>
> >>*mailflm
> NONEXISTENT GROUP (FSERR 51)
>
> Yet if I put quotes around the string then I get quotes in the output
> file.
>
> Any suggestions?
>
>
> -------------------------------------------------
> Larry Simonsen Phone: 801-489-2450
> Flowserve Corporation Fax: 801-491-1750
> PO Box 2200 http://www.Flowserve.com
> Springville, UT 84663 e-mail: [log in to unmask]
> -------------------------------------------------
> All opinions expressed herein are my own and reflect, in no way, those of
> my
> employer.
>
> * 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 *
|
|
|