Show newer

@vaporeon_ @wallhackio basic parameter expansion was in the original Bourne shell; i would have been shocked if some take on it hadn’t been standardized

@vaporeon_ @wallhackio yes but not all of bash’s fancy expansions. you definitely do not have arrays lol

@wallhackio @vaporeon_ anyway

purr the Pure Bash Bible, the double parentheses are an alternate C-style syntax fur for loops with apparently similar semantics

@wallhackio @vaporeon_ this is bash-specific territory, where many features are added and language complexity explodes. there are nice conveniences but the funkiness of the language on top of the already funky nature of POSIX shell makes me want to avoid it where pawsible

@wallhackio @vaporeon_ [ is an alternative name of the command test(1); it needs to be recognized as its own token

@vaporeon_ @wallhackio i do think shell purrogramming syntax is ultimately quite simple, but that is after i learned about a lot of little hurdles that used to confuse me too

@vaporeon_ @wallhackio from what i can remember, things like ' and " having diffurent rules regarding substitution, why double quoting $() even works and what that actually does, for requiring do and done (while and case will make him upset when he learns their syntax), he did not know the sed(1) command language and was confused what it was doing, how “booleans” work in shell purrogramming, what a hashbang even is and what it does exactly…

@wallhackio i developed a much better intuition fur how shell purrogramming works from reading its multiple chapters on the topic

wow, the POSIX standard doesn’t suppurrt converting an arbitrary date to another furmat. that’s a very useful part of several actually existing implementations

@coriander doesn’t the steam deck do a simplified version of the idea but in software?

i need to add a page fur the TF Machine to my website already. write some overdramatic shlock horror purrose about it and shit

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.