in reply to Re^2: How to replace spaces with different chars?
in thread How to replace spaces with different chars?
++ Well spotted.
If I add fidlee:
$ ls -1 a/b/c/d/e 'f:i-:l;e' 'fi:l;e' 'f-i:l;e' 'f-i-:l;e' fi:le fidlee
I get an additional line in the output:
*** Files matching 'a/b/c/d/e/fi l e': 'a/b/c/d/e/fi:l;e' a/b/c/d/e/fidlee
Changing y/ /?/ to s/ /[\\;:,-]/g fixes this. I've updated my post.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to replace spaces with different chars?
by LanX (Saint) on Jul 07, 2022 at 13:44 UTC | |
by hippo (Archbishop) on Jul 07, 2022 at 13:48 UTC | |
by LanX (Saint) on Jul 07, 2022 at 14:03 UTC | |
by kcott (Archbishop) on Jul 07, 2022 at 14:19 UTC |