[lfs-support] vi for chapter 6

Ken Moffat zarniwhoop at ntlworld.com
Fri Oct 5 07:21:42 PDT 2012


On Fri, Oct 05, 2012 at 06:50:57AM -0600, Scott wrote:
> On Fri, Oct 05, 2012 at 05:49:27AM -0500, William Harrington wrote:
> > 
> > If you do cat << EOF
> > 
> > Then any variables or commands in backticks are evaluated
> > 
> > If you do cat << "EOF"
> > 
> > Then variables or commands in backticks are not evaluated.
> > 
> > Example:
> > 
> > cat > test << EOF
> > TEST=$PWD
> > EOF
> > 
> > cat > test "EOF"
> > TEST=$PWD
> > EOF
> > 
> 
> `huh?`
> 
> Scott Swanson
> 

 Did you try it ?  It does exactly what William stated.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list