How to use a key-value dictionary in bash

Posted by xmodulo on Feb 24, 2021 9:09 AM EDT
Xmodulo; By Dan Nanni
Mail this story
Print this story

In any programming language, a dictionary is one of the most fundamental data structures that can store a set of objects in the form of key-value pairs. While bash is not a general-purpose programming language, a recent version of bash (starting from version 4) has star ted to support dictionaries or associative arrays natively. This tutorial demonstrates how you can use a key-value dictionary in bash.

In any programming language, a dictionary is one of the most fundamental data structures that can store a set of objects in the form of key-value pairs. While bash is not a general-purpose programming language, a recent version of bash (starting from version 4) has star ted to support dictionaries or associative arrays natively. This tutorial demonstrates how you can use a key-value dictionary in bash.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.