help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: methods and scripts


From: John Sechrest
Subject: Re: methods and scripts
Date: Thu, 15 Apr 2004 17:06:54 -0700


Can you explain the specifics of which " does what?

I am seeing mis-matched quotes, so I am clearly not understanding something...



Brendan Strejcek <address@hidden> writes:

 % Tim Nelson wrote:
 % 
 % > Mark, is there a way to do here-documents as input to
 % > shellcommands?  eg, something like:
 % 
 % I think I posted this before...
 % 
 % shellcommands:
 % 
 %     debian_unstable_mta.!debian_unstable_mta_postfix_user::
 % 
 %         # add a postfix user; sed allows indentation preservation
 %         #"/bin/cat <<'            EOF' | sed 's/^ *//' | EDITOR=ed vipw
 %         "/bin/sed 's/^ *//' <<'            EOF' | EDITOR=ed vipw
 %             /^\+/
 %             -
 %             a
 %             postfix:x:1000:1000::/var/spool/postfix:/bin/false
 %             .
 %             w
 %             q
 %             EOF"
 % 
 % 
 % _______________________________________________
 % Help-cfengine mailing list
 % address@hidden
 % http://mail.gnu.org/mailman/listinfo/help-cfengine

-----
John Sechrest          .         Helping people use
                        .           computers and the Internet
                          .            more effectively
                             .                      
                                 .       Internet: address@hidden
                                      .   
                                              . http://www.peak.org/~sechrest




reply via email to

[Prev in Thread] Current Thread [Next in Thread]