Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2019 11:01:56 +0100 (CET)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        freebsd-questions@freebsd.org
Subject:   Re: grep for ascii nul
Message-ID:  <alpine.BSF.2.21.99999.352.1911011057490.19545@enterprise.ximalas.info>
In-Reply-To: <20191101104917.e49c518e.freebsd@edvax.de>
References:  <20191101024817.GA60134@admin.sibptus.ru> <558fd145-ad3e-90dc-5930-c01ca0c27d3c@panix.com> <61f96c80-7965-9c80-30dc-b153e418b668@panix.com> <20191101104917.e49c518e.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Trond.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.99999.352.1911011057490.19545>