grep for ascii nul

Trond Endrestøl trond.endrestol at
Fri Nov 1 10:02:06 UTC 2019

On Fri, 1 Nov 2019 10:49+0100, Polytropon wrote:

> At least the list does _strip_ attachments which aren't
> of type "text/ascii"; maybe with a re-declaration of
> the attachment type it would have come through. However,
> inlining a small C program is (just like with log files,
> program outputs or "ASCII screenshots") fully accaptable
> and welcome. :-)

I use Alpine for email, and my ~/.mimes.types contains

text/plain	adb ads c cc conf cpp cs d dat diff erl fdi fragment go h hh hpp hrl local log patch rb rc rs sh sql txt

to ensure the attachments are marked as plain text when they are in 
fact such beasts.


More information about the freebsd-questions mailing list