News for hackers. Stuff that matters.
Re:Base84 deserves a place in file names by Dwedit on Sunday September 13, 2026 @10:50AM (#49684628)
Even just "-" in a filename is problematic, since you can name actual files with "--" at the beginning, and the name could match a switch.
Re:Base84 deserves a place in file names by badc0ffee on Sunday September 13, 2026 @11:44AM (#49685256)
Typically you can use the -- arg to indicate that everything to the right should not be interpreted as a switch.
Re:Base84 deserves a place in file names by PhilipRoman on Sunday September 13, 2026 @11:55AM (#49685387)
and for programs that don't respect this convention ./--file
Re:Base84 deserves a place in file names by IsTom on Sunday September 13, 2026 @05:39PM (#49688997)
Yes, but typically people are not doing this on every command and if you're globbing files it'll get used as flag.