News for hackers. Stuff that matters.
Re:Filenames and Pathnames in Shell: How to Do It Correctly by mmphosis on Monday June 19, 2023 @11:25PM (#36399356)
Ooh, I can put slashes in filenames!

    touch 2023∕06∕19
Or, maybe not.

    ls 2023/06/19
/usr/bin/ls: cannot access '2023/06/19': No such file or directory

Or, maybe I can.

    ls 2023∕06∕19
2023∕06∕19
Re:Filenames and Pathnames in Shell: How to Do It Correctly by rascul on Tuesday June 20, 2023 @12:19AM (#36399663)
> touch 2023∕06∕19

Won't work if the directory 2023/06 doesn't exist. The filename is 19, the relative path is 2023/06/19.

Re:Filenames and Pathnames in Shell: How to Do It Correctly by mmphosis on Tuesday June 20, 2023 @12:29AM (#36399726)
2023∕06∕19 is a filename. 2023/06/19 is a directory.

UTF-8 ∕ division slash

Re:Filenames and Pathnames in Shell: How to Do It Correctly by meinheld111 on Tuesday June 20, 2023 @04:02AM (#36400991)
Lol

Unescaped non-asci was a mistake

Re:Filenames and Pathnames in Shell: How to Do It Correctly by layer8 on Tuesday June 20, 2023 @05:41AM (#36401690)
2023∕06∕19 may be a filename, but it’s not a date, it’s an arithmetic expression. ;)
Re:Filenames and Pathnames in Shell: How to Do It Correctly by rascul on Tuesday June 20, 2023 @07:30AM (#36402522)
Oh geez I missed the utf8.
Re:Filenames and Pathnames in Shell: How to Do It Correctly by coldtea on Tuesday June 20, 2023 @05:31AM (#36401626)
Or you quote them?

ls "2023/06/19" etc?