Tootfinder

Opt-in global Mastodon full text search. Join the index!

@vague@social.linux.pizza
2026-05-28 21:39:51

This might come #handy for people. A while ago I asked in #bash on @… for an #incognito

@cark@social.tchncs.de
2026-04-24 13:38:04

#TIL In bash you can create multiple (nested) directories with a single compact line:
❯ mkdir -p a/{b,c/{x,y},d/{e,f}}
❯ tree
.
└── a
├── b
├── c
│    ├── x
│   └── y
└── d
├── e
└── f

@mgorny@social.treehouse.systems
2026-04-25 07:35:51

#TIL that if you quote the "EOF" word for #bash here-document thing, it does not perform all the substitutions inside the here-doc, i.e. treats it like single-quoted rather than double-quoted string.
cat > ... <<-'EOF'
${foo}
EOF
will get you raw '${foo}', no escaping needed.