jarv / cmdchallenge

This repo is mirror of https://gitlab.com/jarv/cmdchallenge
https://about.cmdchallenge.com
MIT License
721 stars 71 forks source link

Error with find in remove_files_with_a_dash #85

Open ocean1 opened 7 years ago

ocean1 commented 7 years ago

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

0ki commented 7 years ago

This seems to be fixed (now?).