Re: exim and printer answers
Thanks
the cat command works when the end is EOF
and does not work with << EOF or < EOF
I haven't the slightest clue on why but can't argue
with success.
paul taylor
--- Vineet Kumar <debian-user@virtual.doorstop.net>
wrote:
> * Carel Fellinger (cfelling@iae.nl) [020228 13:53]:
> > So `cat filename > /dev/lp0' still works?
> > But the following failed? Strange.
> >
> > > > # cat << EOF > /dev/lp0
> > > > > a very short line
> > > > > a second line
> > > > > a final line
> > > > > << EOF
>
> Not so strange. Try it this way:
>
> # cat << EOF >| /dev/lp0
> > a very short line
> > a second line
> > a final line
> > EOF
>
> The most important change I made is to make that
> last line just say
> "EOF", without the "<<". Also, changing from > to >|
> might make a
> difference, if noclobber is set in your shell.
>
> good times,
> Vineet
>
> --
> Currently seeking opportunities in the SF Bay Area
> Please see http://www.doorstop.net/resume/
> --
> "I disapprove of what you say, but I will defend to
> the death your right
> to say it." --Beatrice Hall, The Friends of
> Voltaire, 1906
>
> ATTACHMENT part 2 application/pgp-signature
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
Reply to: