#TIL: You can't save a spreadsheet in the "Save as" dialog in #LibreOffice whose file name contains an asterisk ("*"). You don't get any error message nor an greyed out "Save" button. It just does nothing, even though the originally opened file has that asterisk in the name. Escaping via backslash also doesn't work. 🤬 🤌

.oO( What happens when seasoned Unix #CLI users with strong experience in quoting and escaping try out a #GUI program… )

@xtaran Any decent filename contains at least spaces, tabs, asterisks, colons and slashes. Programs meddling against them are buggy.
@js @xtaran All those are no big thing. Now, file names with newlines in it, that's a proper grownup file name.

@madalex @js: My favourite file name for a file to delete is:

-rf <Ctrl-C>

Because it requires every level of #quoting:

* Application level quoting by prefixing the file name with ./ so that rm doesn't take -rf as option.
* Shell quoting by #escaping or quoting the blank.
* Input level quoting by pressing usually <Ctrl-V> (Emacsish: <Ctrl-Q>) before <Ctrl-C> to be able to enter a literal <Ctrl-C>.

(That's something you just don't unlearn once it's in your brain. 🤓 )

#CLI #Bash #Zsh #Shell

@xtaran @js @madalex @leyrer OR, you just mc, go to that file and F8 😼😽
@leyrer @madalex @js @xtaran and once you know the ./ part, rm ./-<Tab> in mksh will also DTRT 😽☕️

@leyrer @madalex @xtaran @js for extra evil (for tools that output the filename) add some colour codes.

One Tab and one newline in the filebame exercise different parts of brokenness and ought to also be included, as well as two UCS characters whose NFC and NFD differs, one of them in NFC, one in NFD, to break Apple, and a colon and a backslash to break Windows, and an upper-case character that you lowercase in an otherwise identical filename to break both.

@mirabilos @leyrer @xtaran @js Just as a PSA: even though you can put all those fancy characters into an file name, it's not a great idea to do so if you want them included in your company backup. Most if not all of the enterprise backup software simply throws an error when encountering anything which isn't strictly ASCII and moves on to the next file.
@leyrer @mirabilos @xtaran @js I know. real men don't back up their data.
@madalex @leyrer @mirabilos @js: They just upload it to FTP and let the world mirror it? 🤪

@xtaran

Nope. Mut zur Lücke.

@leyrer @mirabilos @js

@madalex @leyrer @mirabilos @js: Da muss ich an folgendes Zitat denken:

"Niemand will #Backup. Alle wollen #Restore." (@isotopp zitiert einen Vertriebler.)

(Quelle: http://altlasten.lutz.donnerhacke.de/mitarb/lutz/usenet/Fachbegriffe.der.Informatik.html)

Lutz Donnerhacke: Fachbegriffe der Informatik

@xtaran

Ich weiss nur, dass mal einen langen Rechtsstreit zwischen dem HR und einem Hersteller gab, ob ein Restore eine zugesicherte Eigenschaft der verkauften Backup Lösung ist oder nicht und in dem speziellen Fall zumindest war ein Restore keine!!! zugesicherte Eigenschaft.

@leyrer @mirabilos @js @isotopp

@madalex @xtaran @leyrer @js näh, seit ich LUKS habe muß die (Gedächtnis‑)Lücke ein tuëndes Backup+Restore überbrücken (hab Restore so immerhin at enz testen dürfen, es tut)