Re: Tips for serial terminal & file transfer?
On Mon, Sep 01, 2003 at 11:56:48PM +0100, Karsten M. Self wrote:
> It would also be helpful if I could do the old trick of :
> 
>     cat <<EOF>foo
>     <file transfer>
>     EOF
> 
> ...but this method performs shell expansions on the content.
If you quote EOF, it doesn't:
  $ cat <<EOF
  > $BASH_VERSION
  > EOF
  2.05b.0(1)-release
  $ cat <<'EOF'
  > $BASH_VERSION
  > EOF
  $BASH_VERSION
  $ cat <<"EOF"
  > $BASH_VERSION
  > EOF
  $BASH_VERSION
Cheers,
-- 
Colin Watson                                  [cjwatson@flatline.org.uk]
Reply to: