From owner-freebsd-questions@freebsd.org Fri Oct 16 13:09:49 2020 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 36935435457 for ; Fri, 16 Oct 2020 13:09:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CCRMJ0jYJz3S82 for ; Fri, 16 Oct 2020 13:09:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.3.6]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1Mzy6q-1kHmDb3AaE-00x51e; Fri, 16 Oct 2020 15:09:41 +0200 Date: Fri, 16 Oct 2020 15:09:39 +0200 From: Polytropon To: Ralf Mardorf Cc: freebsd-questions@freebsd.org Subject: Re: sh scripting question Message-Id: <20201016150939.d2218e13.freebsd@edvax.de> In-Reply-To: <20201016054735.33ad768e@archlinux> References: <24456.60388.135834.43951@jerusalem.litteratus.org> <20201015204226099763897@bob.proulx.com> <20201016054735.33ad768e@archlinux> 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:JSHq0Fheg7ZocZefw2W6DF1HAymZZ66GHjchUshXHJH0gFtsP7e WwthGZJ6RzDlEf99tfMqOZuCldh6UgUuQxK8gTKDCwHuhpvzLE+Vu95YBTLODuXKmRZgzck ZMYD088BhoAQXlqOiTR11uH66bjgrML5b7zW8CX5yYQdQTwA0yIwd/4rh0aE1Y+3UdD33BE genpGuLnJPy0AxXIRefdA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qVy1nFevumQ=:QJl7qOnuKXzNR+gEF/WODn hdRA4CqaGEV9rRio51eoLE3u2Het77UZ8Mqh1KXq506cR1oaFRvD/mDPFkRw1bMazMPvdj2RW XtKYvcROpJqGBPw0bDhFdJ9Cn8oX3r4pfHNTgYLUydblnn7qcoiJxm87SaL6tov75TEyBCzYK 5pf7oOEzIrRDPnuqK9Srn70t9syzNl8zogFaSDZ4B9IOkYFNHzfyY6AqdsheWbiFbZTgKKS8o Q73ZBT3IvmCBGMgGdUXFSN+wASmuwOS7sPSk6W/UzNt5rx/kIDk3fI6zUydGBPaUSFMD2Ij9M 2VkxqgJmLOFeV8S5icNG4X/a++8T4X+2/rDDACb4bznnJax4/f30rl2C0H1zMrrZ5lRGmtsoR q2UIwsdYg1qF0pZSiYtMrLRFnWSh1NoIRXzzmsIHJI5ZifxQ15Ejk1fi1uaxh X-Rspamd-Queue-Id: 4CCRMJ0jYJz3S82 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 217.72.192.74) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [-0.02 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.04)[-1.043]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.3.6:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.630]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.75)[-0.747]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.74:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.74:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2020 13:09:49 -0000 On Fri, 16 Oct 2020 05:47:57 +0200, Ralf Mardorf wrote: > To me already "FreeBSD is great.txt" isn't a good file name, I would > name it "freebsd_is_great.txt", but that's just me. However, > naming it " FreeBSD is great.txt ", would be just stupid. But valid. :-) You can easily have filenames with "false positives" (read: homographs) using UTF-8, where a dot isn't a dot, a space isn't a space, a hyphen isn't a hyphen, where invisible characters are included at arbitrary places, and then make the whole thing look innocent, like "Alice & Bob @ the beach in summer [2020], good weather (1).xls.jpg.exe". ;-) And as you know, stupid people tend to actually _do_ stupid things, especially when they have access to a computer. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...