Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sgbeal
on Nov 9, 2022
|
parent
|
context
|
favorite
| on:
Unix as a tool forge and how Emacs fits in Unix ph...
> How do you delete a file called -foo?
rm ./-foo
legends2k
on Nov 9, 2022
[–]
Yeah, but still kludge because we don't do that for all files, do we? If it didn't start with a minus, we'd just drop it. So there's no one true way, as we'd like to think.
gw98
on Nov 10, 2022
|
parent
[–]
I have never felt the desire to, or accidentally created files with minus at the start.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
rm ./-foo