In message <14d53ad54f557a46a13248abc37055ce066b6...@aklex020.corp.ad.airnz.co.
nz>,
"Danielson, Graeme" writes:
>Can I pass multiple lines of text with the pipe action?

Not directly IIRC. But I don't think I have tried either.

>I'm trying to solve this with pipe to keep overheads low, is it
>possible?

I use contexts and report. From memory:

action = add email_message "Subject is this"; \
         add email_message ""; \
         add email_message "Hopefully the prior add added a blank line"; \
         add email_message "and I am done"; \
         report email_message shell command here

Also IIRC you can use \n in an eval

  action=eval %o (print "a lot of data here\n\nwith newlines";);\
         pipe '%o' shell command

or possibly

  action=eval %N (print "\n";); \
         pipe 'some text with%N%newlines in it maybe?' shell command

(you can also set up a few variables with useful chars when sec starts
up, I define an apostrophe %A, newline %N and a couple of others. The
apostrophe is useful if you want to put an apostrophe in a pipe
command.

     action = assign %A '; pipe 'this isn%At a problem'

Hopefully one of these will help.

                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to