@wallhackio i developed a much better intuition fur how shell purrogramming works from reading its multiple chapters on the topic

@aescling the syntax is very confusing and i do not udnerstand what is happening half the time

@vaporeon_ @aescling for((i=0; i<${#files[@]}; i++)); do to loop over an array is not yet understood by me. the nested parenthesis, the # for some reason, what is @

@vaporeon_ @aescling whitespace matters a lot which is surprising coming from c-style languages

like I tried to do if [! -d $dirname]; then and bash got mad at me for not putting a space between [ and !

Follow

@wallhackio @vaporeon_ [ is an alternative name of the command test(1); it needs to be recognized as its own token

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.