From owner-freebsd-questions@freebsd.org Fri Nov 1 21:18:31 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8EF5E1A33F0 for ; Fri, 1 Nov 2019 21:18:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 474Zmk2l3zz3H8K for ; Fri, 1 Nov 2019 21:18:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.103.164.61]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPA (Nemesis) id 1Mf0Jg-1hlICv0dnW-00ga0p; Fri, 01 Nov 2019 22:18:19 +0100 Date: Fri, 1 Nov 2019 22:18:15 +0100 From: Polytropon To: Kurt Hackenberg Cc: freebsd-questions@freebsd.org Subject: Re: grep for ascii nul Message-Id: <20191101221815.a19d7dd8.freebsd@edvax.de> In-Reply-To: <4b2158d3-4bc4-63d5-9d8b-8801f4588da4@panix.com> 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> <20191101112030.4e4f09f3.freebsd@edvax.de> <4b2158d3-4bc4-63d5-9d8b-8801f4588da4@panix.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:+GyLtxIv3/6GHjgx11DzK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DuMbgESRDk8n DEeUm5BsZSxHh5ob0n27dIrtZhHQ7UvwhFwytXe/4Fua0NOUiqn/81b5LFkRFTVSp71eUFjyc huz5IozcgOAfRfU5vFc+iJW9HOhct+K7Yqk5nUZ/o= X-Rspamd-Queue-Id: 474Zmk2l3zz3H8K X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.24) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.74 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[61.164.103.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.55)[0.550,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.68)[0.684,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[24.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.11)[ip: (-0.40), ipnet: 212.227.0.0/16(-1.34), asn: 8560(2.29), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2019 21:18:31 -0000 On Fri, 1 Nov 2019 13:27:08 -0400, Kurt Hackenberg wrote: > On 2019-11-01 06:20, Polytropon wrote: > > > I don't know if the declaration "text/x-csrc" is processed > > by the mailing list as regular text attachment, but as > > you said, "text/plain" should work. Stripping non-text > > attachments (especially binary ones, like images) has > > been common practice on this list for years, probably > > for decades now. > > Sure enough, my mail reader (Thunderbird) generates a C source > attachment as text/x-csrc. I didn't know that type existed. Obviously > it's non-standard. Sylpheed does the same, for example "text/x-sh" for a shell script. Maybe it's a "not so well known standard"? ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...