- cross-posted to:
- blahaj@lemmy.blahaj.zone
- programmerhumor@lemmy.ml
- cross-posted to:
- blahaj@lemmy.blahaj.zone
- programmerhumor@lemmy.ml
cross-posted from: https://lemmy.zip/post/19231076
- darklamer ( @darklamer@lemmy.dbzer0.com ) 64•2 months ago
We have Unicode these days: blåhaj
- 30p87 ( @30p87@feddit.de ) 1•2 months ago
It’s annoying to type in the terminal tho.
- darklamer ( @darklamer@lemmy.dbzer0.com ) 2•2 months ago
No, it isn’t. Why would it be?
- 30p87 ( @30p87@feddit.de ) 5•2 months ago
Because you would need to know the code for å in all kb layouts, on all OS’s, even in a bare terminal with no way to just open the emoji picker, with or without special keys and no clipboard. Of course, tab completion or globs may help you, but not in all cases.
Try to select blåhaj.txt in a dir with blåhaj.txt and blahaj.txt present. Easy, ls bl*haj.txt | grep -i blahaj.txt. Now with blåhaj.txt and bløhaj.txt. Not as easy anymore, but doable with tail -n1 or head -n1. Now do it consistently in a script. So you again need to single out the right string, or single char, and >> it into the script so you have the special char. Then you have a component that does not like certain special chars, so you need to escape it. All because one decided to use special chars as a file name/identifier. Using [a-zA-Z0-9-_.:;,]* would be so easy.
- darklamer ( @darklamer@lemmy.dbzer0.com ) 3•2 months ago
Because you would need to know the code for å in all kb layouts, on all OS’s,
WTF!? Why would you ever need to know that!?
- 30p87 ( @30p87@feddit.de ) 1•2 months ago
So, you create a file with the name containing å. Then you send it to another person. They want to handle it via the command line. Because it’s more efficient. So that person needs to know said information.
- darklamer ( @darklamer@lemmy.dbzer0.com ) 2•2 months ago
Most people never type a full file name on the command line, they normally just use file name completion.
And if they happen to have a lot of files that are only distinguished by some single character, what would be so difficult about typing that one character then?
- Lucy :3 ( @30p87@feddit.org ) English1•2 months ago
The fact they couldn’t type that one character, on the command line, without those special chars.
- 30p87 ( @30p87@feddit.de ) 34•2 months ago
Noooooo what did you do to that poor shonky :ccc
- henfredemars ( @henfredemars@infosec.pub ) English38•2 months ago
The data will be preserved 🤖
- blackn1ght ( @blackn1ght@feddit.uk ) 19•2 months ago
TIL blahaj refers to a soft toy shark sold by IKEA.
- branch ( @WaylandHater26@lemmy.zip ) 8•2 months ago
if you suck in the air of a blåhaj do you become a cute trans girl 🤔