[Gllug] bash startup

John Edwards john_ed at cornerstonelinux.co.uk
Mon Nov 5 21:38:13 UTC 2001


On Sun, Nov 04, 2001 at 11:18:46PM +0000, Nix wrote:
> On Sun, 4 Nov 2001, gllug at uncertainty.org.uk gibbered:
> > I have tried using constructs like
> > 
> >>> foo < bar   
> > 
> > but I find looking back at shell scripts it is much more legible if I
> > write 
> > 
> > cat bar >> foo
> 
> Er, you can easily write
> 
> < bar >> foo
> 
> so the two lines are almost identical.

Is there an equivalent for something like:

cat <<EOF > foo
bar
EOF


-- 
#------------------------------------------------------------#
|      John Edwards    Email: John.Edwards at uk.com            |
|                                                            |
|     "Security vulnerabilities are here to stay."           |
|   Scott Culp, Manager, Microsoft Security Response Center  |
#------------------------------------------------------------#

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list