Date: Wed, 17 Mar 2021 08:28:26 +0100 From: Alex fxmbsw7 Ratchev <fxmb...@gmail.com> Message-ID: <caalkergahg-tquwgzjmt8cbwdydehyjn75b9unm+z9j51el...@mail.gmail.com>
| you write like when word splitting no use double quotes | sure but as far as i understood: | key='$( faulty_command )' | unset -v assoc["$key"] | would still get expanded associative arrays in bash are bizarre. They're not really needed, and I'd just avoid them. If you're trying to do something that is like a database, use one (sqlite, mysql, ...). Arrays in general aren't needed in sh. | i cant get friendly'ed to builtins being | over keywords I'm not sure what you mean there, keywords win over basically everything, the things that need to be keywords need to (if, while etc) so the shell can implement the appropriate syntax. For everything else being a command, built in or not, is better. Thay way you can write a function with the same name to alter the behaviour of it if you want. I do that a lot, particularly with things like cd. kre