4 ms·
I discover stuff like this every day, and it’s delightful. Sure, reading the manual would’ve saved me from the surprise, but it’s incredibly difficult for me to
by rednafi 2y ago
I discover stuff like this every day, and it’s delightful. Sure, reading the manual would’ve saved me from the surprise, but it’s incredibly difficult for me to read them unless I have a specific goal in hand.
I found out about hashmaps in Bash a year ago[1], and it came as a surprise. This morning, I came across dynamic shell variables and the indirection syntax[2]. Each time I wrote about them and learned more than I would have if I had just passively grokked the manual.
[1]: https://rednafi.com/misc/associative_arrays_in_bash/ https://rednafi.com/misc/associative_arrays_in_bash/
[2]: https://rednafi.com/misc/dynamic_shell_variables/ https://rednafi.com/misc/dynamic_shell_variables/