@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 !

@wallhackio @aescling Yeah, that is confusing coming from C-style languages
If you type [!, instead of invoking a command [ with the arguments ! -d $dirname], it tries to invoke a command [!, which does not exist...

Do not run this on your computer 

@wallhackio @aescling Is Clodsire familiar with this invocation?

:(){ :|:& };:

re: Do not run this on your computer 

@wallhackio @vaporeon_ @aescling who up forking they bomb

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.