Skip to content

ShellCheck – shell script analysis tool shellcheck.net · Originally posted on Pinboard

#!/bin/sh## Example of a broken script.for f in $(ls .m3u)do grep -qi hq.mp3 $f \ && echo -e 'Playlist $f contains a HQ file in mp3 format' done ➯ ShellCheck…