Fix syntax and indentation in shellcheck.1.md
Out of interest, I ran the command pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1 locally, but that produces warnings (previous to this commit). Checking the generated manpage, I found the diff to be rendered very badly. (Broken at terminal width like a normal paragraph). This commit fixes the problem.
This commit is contained in:
parent
788cf17076
commit
e280116ef0
|
@ -157,16 +157,16 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts.
|
||||||
: Auto-fixes in unified diff format. Can be piped to `git apply` or `patch -p1`
|
: Auto-fixes in unified diff format. Can be piped to `git apply` or `patch -p1`
|
||||||
to automatically apply fixes.
|
to automatically apply fixes.
|
||||||
|
|
||||||
--- a/test.sh
|
--- a/test.sh
|
||||||
+++ b/test.sh
|
+++ b/test.sh
|
||||||
@@ -2,6 +2,6 @@
|
@@ -2,6 +2,6 @@
|
||||||
## Example of a broken script.
|
## Example of a broken script.
|
||||||
for f in $(ls *.m3u)
|
for f in $(ls *.m3u)
|
||||||
do
|
do
|
||||||
- grep -qi hq.*mp3 $f \
|
- grep -qi hq.*mp3 $f \
|
||||||
+ grep -qi hq.*mp3 "$f" \
|
+ grep -qi hq.*mp3 "$f" \
|
||||||
&& echo -e 'Playlist $f contains a HQ file in mp3 format'
|
&& echo -e 'Playlist $f contains a HQ file in mp3 format'
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
**json1**
|
**json1**
|
||||||
|
|
Loading…
Reference in New Issue