detox icon indicating copy to clipboard operation
detox copied to clipboard

Equal sign not tamed

Open Its-Just-Nans opened this issue 2 years ago • 2 comments

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 ?!

Its-Just-Nans avatar Dec 18 '23 20:12 Its-Just-Nans

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

dharple avatar Mar 31 '24 15:03 dharple

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

Its-Just-Nans avatar Mar 31 '24 16:03 Its-Just-Nans