Re: Request: Standard hashmaps in sh

2023-12-26 Thread Oğuz via austin-group-l at The Open Group
On Wednesday, December 27, 2023, Andrew Pennebaker via austin-group-l at The Open Group wrote: > I am currently using dynamically named variables in order to implement > logical hashmaps in pure, POSIX sh. > Why? The standard hashmap language is AWK and it's available on every POSIX-compliant

Request: Standard hashmaps in sh

2023-12-26 Thread Andrew Pennebaker via austin-group-l at The Open Group
Hi, I am currently using dynamically named variables in order to implement logical hashmaps in pure, POSIX sh. The entries share a common, application specific prefix to mitigate collisions with other environment variables. However, the hacky syntax I am using for this, involves eval commands.