Path: ...!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 09 May 2025 05:44:26 +0000 Subject: Re: Case Insensitive File Systems -- Torvalds Hates Them Newsgroups: comp.os.linux.misc References: <6813f997@news.ausics.net> <68194581@news.ausics.net> <681aa121@news.ausics.net> <3aorelxelu.ln2@Telcontar.valinor> <681be760@news.ausics.net> <681c316b@news.ausics.net> <681d3016@news.ausics.net> From: c186282 Date: Fri, 9 May 2025 01:44:21 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-ID: Lines: 29 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-CToxH5hyGRxzWcrOde7hBC/goaFbboU02ePm6w+9ZntgWudLcp0K5YIQpwPUpHnkSgb7soXuCmZ5fPh!rolkRw2tURUb0k3lzunRQ6OsFdqvMzgPByBjwixgaUAatNws0inSFVqayjJJX8hP8+tKSxeoiXib X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 2912 On 5/9/25 1:06 AM, Marc Haber wrote: > not@telling.you.invalid (Computer Nerd Kev) wrote: >> No, the GNU Find man page says: >> "-print0, -fprint0 >> Always print the exact filename, unchanged, even if the output is >> going to a terminal." >> >> Which is the same as the default -print if the output isn't to a >> terminal, except -print0 uses null instead of newline to separate >> filenames because they're a particular problem. Other special >> characters aren't as problematic. > > The shell tokenizes at whitespace, and a newline is often treated as > whitespace. -print0 is the canonical protection that makes your script > handle spaces in newlines correctly, and THOSE are rather common in > file names. Look in your music directory for examples. > > You've gotten yourself into something in this discussion. Better take > a step back to stop embarrassing yourself. Just a meta-comment .... the length and strength of this thread really makes it clear how BAD fundamental things like file/dir names and such have been allowed to become. Someone up in the aether wasn't paying attention. More "Oh THAT sounds cool and nice - the complete text of War And Peace as a file name ..."