this post was submitted on 03 May 2024
14 points (64.6% liked)

Linux

48193 readers
1305 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I know that there are ten different alternatives. Why don't we simply improve the basic stuff?

you are viewing a single comment's thread
view the rest of the comments
[–] hapidjus@mastodon.social 0 points 6 months ago (1 children)

@TigrisMorte Why not? I don't understand the hate with using valid filename characters in filenames. If anything I would argue it makes detecting non-conformant code easier... you wouldn't want a program to skip processing a file because it has the letter Z in it would you?

[–] TigrisMorte@kbin.social 1 points 6 months ago (1 children)

Makes CLI involving the space a pain. Use an underscore if you must have a visual space, but best practices would be to use Camel Case, no punctuation (including spaces), and include the date in Gregorian format CCYYMMDD

I don't know if any given system shall issues or could handle it fine, but I know some systems cannot handle spaces in file names. There is no reason to tempt fate.

[–] hapidjus@mastodon.social -1 points 6 months ago* (last edited 6 months ago) (1 children)

@TigrisMorte I don't think camel case would make sense for files such as books, music or movies when you want the name to look proper.

[–] TigrisMorte@kbin.social 2 points 6 months ago (1 children)

It is a filename not a PR press release. How it looks is irrelevant to how the system handles it. Want the display to show something other than the file name is easy and doesn't risk errors, unlike punctuation in filenames which creates problems and solves none.

[–] hapidjus@mastodon.social 0 points 6 months ago (1 children)

> How it looks is irrelevant to how the system handles it

Then IMO it shouldn't matter that there is a space in it. I disagree with your viewpoints and I think if someone wants a space or punctuation in their filename, they should be able to do that without problems.

[–] TigrisMorte@kbin.social 1 points 6 months ago

Your opinion does not matter. Nor does the presentation upon the screen, which is what you are actually asking for. The reality was explained and you are stamping your feet and holding your breath.