User Tools

Site Tools


development:scripting_languages:shells

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

development:scripting_languages:shells [2019/10/12 07:38]
meesters created
development:scripting_languages:shells [2019/10/12 07:38] (current)
meesters [Integrety Checking of Shell Scripts]
Line 80: Line 80:
 There are lots of odds and ends and particularly for new users this can be overwhelming. Be sure to check out our [[http://​ilias.uni-mainz.de/​goto.php?​target=cat_393771&​client_id=JOGU|introductory courses]]. There are lots of odds and ends and particularly for new users this can be overwhelming. Be sure to check out our [[http://​ilias.uni-mainz.de/​goto.php?​target=cat_393771&​client_id=JOGU|introductory courses]].
  
-====== ​Integrety ​Checking of Shell Scripts ======+====== ​Integrity ​Checking of Shell Scripts ======
  
 However good a writer may be – she will always make mistakes. Now you can always invoke a script with ''​bash -n <​script>''​ to check the script is without errors. Yet, just the other day we installed [[https://​www.shellcheck.net/​|“shellcheck”]] on the login-nodes. If you run ''​shellcheck <​options>​ <​script>''​ it will spot (most likely) a number of code smells, potential errors and real ones – and sort them according to their respective severity. However good a writer may be – she will always make mistakes. Now you can always invoke a script with ''​bash -n <​script>''​ to check the script is without errors. Yet, just the other day we installed [[https://​www.shellcheck.net/​|“shellcheck”]] on the login-nodes. If you run ''​shellcheck <​options>​ <​script>''​ it will spot (most likely) a number of code smells, potential errors and real ones – and sort them according to their respective severity.
  
  
development/scripting_languages/shells.txt · Last modified: 2019/10/12 07:38 by meesters