News for hackers. Stuff that matters.
Re:Unix as a tool forge (and how Emacs fits in Unix philosophy) by sgbeal on Wednesday November 09, 2022 @09:02AM (#33531710)
> How do you delete a file called -foo?

rm ./-foo

Re:Unix as a tool forge (and how Emacs fits in Unix philosophy) by legends2k on Wednesday November 09, 2022 @06:44PM (#33539869)
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.
Re:Unix as a tool forge (and how Emacs fits in Unix philosophy) by gw98 on Thursday November 10, 2022 @05:57PM (#33554826)
I have never felt the desire to, or accidentally created files with minus at the start.