You are not logged in.

#21 2018-12-27 05:11:54

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,668
Website

Re: Bl-places pipemenu issues "solve"

That C code needs to be compiled of course?

The current places menu handles all kinds of filenames: quotation marks, line breaks... I think anything UNIX.

john@helium:~/text/oddnames$ touch ./\"
john@helium:~/text/oddnames$ ls
"        f\\                            line?break      s"s
a; rm b  "fish & chips" <what's that?>  New Empty File  日本語.txt
b        it's                           "new folder"
john@helium:~/text/oddnames$ for i in *; do echo "$i";done
"
a; rm b
b
f\\
"fish & chips" <what's that?>
it's
line
break
New Empty File
"new folder"
s"s
日本語.txt

'ls' does not display the line break in the file named

line
break

, but it's there, as the second command shows.

I think most other applications will be more restrictive than this.

hg38nNfm.png

---
off-topic: @Malm I found some of the directories in ~/text made the JGMenu openbox menu emulation crash. (The native OB menu is OK.) When I've got a bit more data I'll open a GitHub issue.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB