Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Question about handling filenames with "illegal" characters...
Date: Thu, 16 Apr 2020 15:27:09
Message-Id: 20200416152656.hvi6qatlowmsrf6p@solfire
In Reply to: Re: [gentoo-user] Question about handling filenames with "illegal" characters... by Neil Bothwick
1 On 04/16 04:19, Neil Bothwick wrote:
2 > On Thu, 16 Apr 2020 17:15:45 +0200, tuxic@××××××.de wrote:
3 >
4 > > a loop like this
5 > >
6 > > for fn in asd* ; do
7 > > do_something $fn
8 > > done
9 > >
10 > > fails, when a file is named like this:
11 > >
12 > > List of OSses allowing spaces in filenames.txt
13 > >
14 >
15 > do_something "$fn"
16 >
17 > Would this work?
18 >
19 >
20 > --
21 > Neil Bothwick
22 >
23 > C:\BELFRY is where I keep my .BAT files ^^^oo^^^
24
25
26 Hi Neil,
27
28 is this the "Bothwick effect" ?
29
30 This was the first I tried after my script failed...and it failed
31 again after adding the "".
32 I tried it again...and now it works.
33 Only difference: I did it from the commandline (using zsh).
34
35 I am baffled.
36
37 But it is better, I don't completely understand, whu it is working
38 now than vice versa ;)
39
40 Cheers!
41 Meino