News for hackers. Stuff that matters.
Re:Ask HN: Weirdest hack that you ever saw in production? by drinchev on Sunday March 25, 2018 @03:23AM (#16671157)
Not an actual bug, but I found this a couple of days ago. And it seems like an elegant hack, allowing `/` in directory, files, etc.

Typing `mkdir foo:bar` in my macOS's terminal leads to a directory, that Finder shows as `foo/bar`.

Re:Ask HN: Weirdest hack that you ever saw in production? by acous on Sunday March 25, 2018 @08:59AM (#16671988)
Classic Mac OS (<10) used : as a directory separator, so it's probably related to that.
Re:Ask HN: Weirdest hack that you ever saw in production? by ComputerGuru on Sunday March 25, 2018 @08:28AM (#16671879)
Good luck adding that directory to your PATH :)
Re:Ask HN: Weirdest hack that you ever saw in production? by xenadu02 on Sunday March 25, 2018 @02:28PM (#16673609)
Such directories are non-portable and can’t be used in $PATH on any Unix, nor any other path-like mechanism like $DYLD_LIBRARY_PATH.