[Pine-info] Re: How to create a margin when printing?

Michael Abbott michael at araneidae.co.uk
Mon Aug 28 07:04:42 PDT 2006


On Mon, 28 Aug 2006, Lucio Chiappetti wrote:

> I report here print_wrap as a stupid demo

>

> #! /bin/csh -f

> #

> # wrapper to make print "pipable"

> # for use as print command within Pine mail

> #

> cat - >/tmp/print.$$

> print /tmp/print.$$

> rm /tmp/print.$$


Well, for fun, here is the same thing using bash:

#!/usr/bin/env bash
print <(cat -)

Cool, eh?!



More information about the Pine-info mailing list