Things to know: Bash

Error handling with command substitution To accomplish error handling with command substitution you must not use the local key word. this works this does not

Read More »

How to iterate over lines in a variable in Bash?

For some reason the methods above echo out a empty line. the method below does’nt IFS Variable and Its Default Values The special shell variable IFS determines how Bash recognizes word boundaries while splitting a sequence of character strings. The default value of IFS is a three-character string comprising a space, tab, and newline: Here we[…]

Read More »