cmdchallenge icon indicating copy to clipboard operation
cmdchallenge copied to clipboard

Error with find in remove_files_with_a_dash

Open ocean1 opened this issue 9 years ago • 1 comments

Summary

"Unknown Error :(" while using find

Steps to reproduce

https://cmdchallenge.com/#/remove_files_with_a_dash

bash(0)> find ./ -iname '\-*' -exec rm {} \;
Unknown Error :(
bash(☠️)> find ./ -iname '-*' -exec rm {} \;
# 👍 👍 👍  Correct!

the first command should also work

ocean1 avatar Feb 01 '17 22:02 ocean1

This seems to be fixed (now?).

0ki avatar Feb 03 '17 04:02 0ki