## Example of a broken script.
for f in $(ls *.m3u)
grep -qi hq.*mp3 $f \
&& echo -e 'Playlist $f contains a HQ file in mp3 format'
finds bugs in your shell scripts.
brew install it locally right now.
Paste a script to try it out:
Your Editor (Ace – loading 800kb of JS
DIR=/data/tmp // The directory to delete
rm -rf $DIR/* // Now delete it
If you paste a script in the editor above, this window will show shellcheck output.