dharple / detox

Tames problematic filenames
BSD 3-Clause "New" or "Revised" License
318 stars 19 forks source link

Equal sign not tamed #109

Open Its-Just-Nans opened 8 months ago

Its-Just-Nans commented 8 months ago

The = looks like problematic in filenames

touch a=e
ls
# 'a=e'
rm a=e # works

touch a=e
ls
# 'a=e'
rm a\=e # works too ?!
dharple commented 5 months ago

Thanks for your feedback. Can you tell me more about how it's causing a problem for you?

Its-Just-Nans commented 5 months ago

Why does equal sign are not tamed ?

It's a weird char as it's escaped by ls

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02