C:List and files/paths containing globbing characters

Post Reply
kolla
Posts: 57
Joined: Wed Oct 24, 2018 11:38 am

C:List and files/paths containing globbing characters

Post by kolla »

Create a few directories in RAM:

Code: Select all

Makedir ALL "RAM:test/foo (bar)" "RAM:test/bar (foo)"
Echo to "RAM:test/foo (bar)/foo"
Echo to "RAM:test/bar (foo)/bar"
Then try something simple as:

Code: Select all

List RAM:test ALL FILES LFORMAT "%p%n" LFQ W
and watch it fail, stumbling on the parenthesis in the paths
(which I believe was what LFQ=LFORMATQUOTE W=WILDCARD was meant to fix)
User avatar
MMikhail
Beta Tester
Beta Tester
Posts: 67
Joined: Wed Feb 18, 2015 8:06 am
Location: Moscow / Russia
Contact:

Re: C:List and files/paths containing globbing characters

Post by MMikhail »

This is a known issue, it is also present in OS4.
This was introduced in List 47.8, so temporary you can use previous builds
that do not have the extra options and ignore such file/dir names.
A solution is planned, but no ETA.
A1260T/BPPC/BVPPC/128MB/CNET/SCSI/HDD/CDRW/DVD/HPLJ4P/HPSJ6 (AMiGA)
Post Reply