Post #1645890
2026-04-24 13:38 UTC
Replies (11)
-
@jkanev@fediscience.org 2026-04-24 13:48
@cark@social.tchncs.de Thanks!!! Didn't know that.
-
@daesorin@hachyderm.io 2026-04-24 15:26
@cark@social.tchncs.de Loved your piece on `git fire`. It has inspired me.
-
@irom@social.tchncs.de 2026-04-24 16:06
@cark@social.tchncs.de btw it's called brace expansion. I highly recommend reading the man page of bash, it's all in there! It's loong though.
-
@matthias@gruene.social 2026-04-24 16:37
@cark@social.tchncs.de tested on OpenIndiana. Works in the same way. Thx!
-
@compfu@mograph.social 2026-04-24 17:39
@cark@social.tchncs.de Man, curly braces in bash creep me out. I can never remember whether that you need a comma to separate items (because glob expansion produces spaces). If I tried to build that command I would get errors or subfolders called ; 😅
-
@MontyZuma@mastodontech.de 2026-04-25 10:06
@cark@social.tchncs.de Shell expansion magic
-
@danimrich@mastodon.social 2026-04-25 10:09
@cark@social.tchncs.de This is a very neat trick of the sort where you learn about it and then spend five minutes thinking of a scenario where it would be useful. ;)
-
@proedie@mastodon.green 2026-04-25 10:36
@cark@social.tchncs.de Whaaaat?! 🤯
-
@jantheowassink@chaos.social 2026-04-25 11:32
@cark@social.tchncs.de Brilliant, thanks for sharing!
-
@arnotron@noc.social 2026-04-25 11:45
@cark@social.tchncs.de I love brace expressions to create backup copies or rename files. E.g. cp a{,.bak} or me b{,.old}
-
Zap