chore(kb): marginally improve articles

This commit is contained in:
Michele Cereda
2024-05-12 11:44:14 +02:00
parent 8ef68525ad
commit 29d16f72fe
2 changed files with 30 additions and 11 deletions

View File

@@ -2,26 +2,47 @@
Gives warnings and suggestions about `bash`/`sh` shell scripts.
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
## TL;DR
<details>
<summary>Installation and configuration</summary>
```sh
shellcheck /path/to/script.sh
apt install 'shellcheck'
brew install 'shellcheck'
pacman -S 'shellcheck'
zypper in 'ShellCheck'
```
</details>
<details>
<summary>Usage</summary>
```sh
shellcheck '/path/to/script.sh'
shellcheck '/path/to/scripts/*.sh'
```
</details>
## Further readings
- [Website]
- [Github]
<!--
References
Reference
═╬═Time══
-->
<!-- In-article sections -->
<!-- Knowledge base -->
<!-- Files -->
<!-- Upstream -->
[github]: https://github.com/koalaman/shellcheck
[website]: https://www.shellcheck.net/
<!-- Others -->