[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: methods and scripts
From: |
Brendan Strejcek |
Subject: |
Re: methods and scripts |
Date: |
Thu, 15 Apr 2004 20:50:40 -0500 |
User-agent: |
Mutt/1.3.28i |
Chris Edillon wrote:
> i imagine it's something like this (correct me if i'm wrong brendan).
> the double-quotes before /bin/sed and after the last EOF contain the
> string which encompasses the shellcommand. the first set of single
> quotes contains the sed substitution command which tells sed to strip
> all leading whitespace from its input. its input begins is a here
> document bounded by the string ' EOF', where the single-quotes are
> telling it to use all of the whitespace before EOF as part of the end
> point of the here document (that's what allows him to indent the EOF
> in with the rest of the commands to make it look clean instead of
> sticking it at the beginning of a line where it looks out of place).
> the output of the sed command is piped into vipw, using ed as its
> editor instead of vi. and of course the here document contains all of
> the ed commands used to edit the passwd file.
Completely correct.
- Re: cfengine ideology question, (continued)
- methods and scripts [was: Re: cfengine ideology question], Tim Nelson, 2004/04/15
- Re: methods and scripts, Brendan Strejcek, 2004/04/15
- Re: methods and scripts, John Sechrest, 2004/04/15
- Re: methods and scripts, Chris Edillon, 2004/04/15
- Re: methods and scripts,
Brendan Strejcek <=
Re: cfengine ideology question, Bent Gjersvik, 2004/04/15