Tootfinder

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

@jan_wagemakers@social.linux.pizza
2026-07-22 16:37:03

I stumbled upon #seeqie , a terminal-based image viewer that uses Sixel Graphics. Written in #bash. It works fine with #foot

@mro@digitalcourage.social
2026-07-21 15:24:18

#FollowerPower
why does that split neither in #bash nor #dash:
```
$ echo "loc@hos" | IFS=@ read -r loc hos
```
Edit: got it,

@lpryszcz@genomic.social
2026-06-12 07:52:52

handy random string (password) generator
echo `tr --complement --delete "a-fA-F0-9" < /dev/urandom | head -c 12`
#bash #cmdline #tricks
source:

@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.

@michabbb@social.vivaldi.net
2026-07-13 13:07:27

📊 Supported shells: #zsh, #bash, #fish, #nushell,

@beeb@hachyderm.io
2026-06-27 13:23:27

I'm really enjoying making small scripts in #AmberLang
#bash, a cool concept!
Below an example of a helper I use to copy to clipboard the remote link for the file I have currently open in #HelixEditor (complete with the range of lines in my selection).
#scripting #ScriptingLanguage #bash_scripting