From e280116ef0ea23c078af1e41c70838e98d0c4828 Mon Sep 17 00:00:00 2001 From: shak-mar Date: Fri, 12 Jul 2019 16:48:27 +0200 Subject: [PATCH] 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. --- shellcheck.1.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/shellcheck.1.md b/shellcheck.1.md index 77fa79a..da66a69 100644 --- a/shellcheck.1.md +++ b/shellcheck.1.md @@ -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` to automatically apply fixes. - --- a/test.sh - +++ b/test.sh - @@ -2,6 +2,6 @@ - ## Example of a broken script. - for f in $(ls *.m3u) - do - - grep -qi hq.*mp3 $f \ - + grep -qi hq.*mp3 "$f" \ - && echo -e 'Playlist $f contains a HQ file in mp3 format' - done + --- a/test.sh + +++ b/test.sh + @@ -2,6 +2,6 @@ + ## Example of a broken script. + for f in $(ls *.m3u) + do + - grep -qi hq.*mp3 $f \ + + grep -qi hq.*mp3 "$f" \ + && echo -e 'Playlist $f contains a HQ file in mp3 format' + done **json1**