groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] What does 'groff <<<foo' do?


From: Johann Höchtl
Subject: Re: [Groff] What does 'groff <<<foo' do?
Date: Sun, 02 Dec 2012 21:11:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/02/2012 07:40 PM, Clarke Echols wrote:
In a recent email the syntax:

     groff <<<foo ...

was used.

It's called "Here string" or "here document" and used extensively in Bash / Perl / Python / Ruby programming. With 'here doc' You can disguise entire websites in a single perl file .... or a troff document

http://en.wikipedia.org/wiki/Here_document

I've used Unix/Linux for over 25 years, and I've never seen
that "triple redirect" before.  What does it do?  I get nowhere
with a Google search because it ignores the '<<<'.

Thanks,

Clarke






reply via email to

[Prev in Thread] Current Thread [Next in Thread]