miniblog.
← Back to all posts
May 24, 2012 at 15:25
Today I learnt that ;: is a more portable # for shells like #zsh which use # for pattern matching. Works with #Bash too. Handy.
Wilfred Hughes
Related Posts
Dec 4, 2013 at 11:53
Learnt about `set -u` in bash scripts today. Ensures all your variables are defined, very handy (think `"use strict";` for shell)
Wilfred Hughes
Shared words: Bash, learnt, Today, shells, use, Handy Score: 311.7
Apr 5, 2022 at 07:31
Bash's list of behaviours that aren't POSIX-compliant is longer than I expected:
https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html
I used fish for a while and liked it, but POSIX-ish shells work with everything. These days I use a heavily customised zsh.
Bash POSIX Mode (Bash Reference Manual)
Bash POSIX Mode (Bash Reference Manual)
Wilfred Hughes
Shared words: Bash, zsh, shells, use, Works Score: 259
Jul 14, 2015 at 21:47
OH at the last Emacs meetup: "What shell do you use? Zsh, bash, ...?" "I use Korn 93!" — I've never met two elispers with the same workflow.
Wilfred Hughes
Shared words: Bash, zsh, shells, use Score: 194.5