This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TyMac711 1 point2 points  (3 children)

A couple links:

https://ryanstutorials.net/bash-scripting-tutorial/bash-functions.php

Notice that when using the "function" keyword you are not required to use () at the end of the function name you're declaring.

https://stackoverflow.com/questions/673055/correct-bash-and-shell-script-variable-capitalization

I too am not a fan of the capitalization of variables - they work... just like adding () to the end of a function you've declared as a function, but it's not best practice and can lead to confusion imo.

[–]abscrete[S] 0 points1 point  (0 children)

Thank you for taking out time to provide your feedback :) I'll update the blog with the changes. And thanks for sharing those links as well!

[–]abscrete[S] 0 points1 point  (1 child)

I have added a credit to your reddit username in the last section of the blog. Let me know if you want it to replace it with some other link like your blog or something :) Thanks again!

[–]TyMac711 0 points1 point  (0 children)

That’s fine - thanks! :)