From 10b31479c53507e4e52efd946dbeab1d48ea4633 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 15 Dec 2016 04:18:11 +0300 Subject: grammar tweaks --- setenv.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setenv.sh b/setenv.sh index 115e015..b0ba11d 100755 --- a/setenv.sh +++ b/setenv.sh @@ -21,8 +21,7 @@ # * `coreutils` 8.25, # * `sed` 4.2.2. # -# Any Cygwin installation must already have the corresponding packages -# installed. +# Any Cygwin installation should already have these packages installed. # I consider a PGN file to be "pretty" if it # @@ -71,14 +70,14 @@ lint_pgn() { # Strips [%clk] tags from PGN files. alias strip_pgn_clk='sed --binary --in-place -- '"'"'s/ {\[%clk [[:digit:]]\+:[[:digit:]]\+\(:[[:digit:]]\+\)*\]}//g'"'" -# Places main line moves at separate lines. +# Places main line moves on separate lines. alias slice_pgn_moves='sed --binary --in-place -- '"'"'s/ \([[:digit:]]\+\.\)/\r\n\1/g'"'" # "Prettifies" PGN files by (see above) # # * "linting" them, # * stripping [%clk] tags, -# * placing main line moves at separate lines. +# * placing main line moves on separate lines. normalize_pgn() { lint_pgn "$@" \ && strip_pgn_clk "$@" \ -- cgit v1.2.3