[Gllug] procmail recipe to weed out html from mails

Nix nix at esperi.demon.co.uk
Mon Sep 24 06:44:40 UTC 2001


On Sun, 23 Sep 2001, Stig Brautaset stated:
> * Nix <nix at esperi.demon.co.uk> spake thus:
>> The /dev/fd0 is pointing lynx at its own standard input, because (at
>> least some) lynxes have no `-'-a-like syntax to do that. (For
>> portability's sake, it should really be `/dev/stdin', which is a symlink
>> to `/dev/fd/0' (and /dev/fd is itself a symlink to /proc/self/fd...) )
> 
> aah, so I can use:
> 
>| (echo "[html stripped]"; lynx -dump -force_html -stdin)
> 
> instead then?

No, because lynx doesn't support a -stdin switch (at least, it doesn't here).

But you should be able to say

(echo "[html stripped]"; lynx -dump -force_html /dev/stdin)

-- 
`Upsetting this BOFH was a BAD MOVE.' --- Chris Newport

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




More information about the GLLUG mailing list