aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/setenv.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-12-15 04:18:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-12-15 04:18:11 +0300
commit10b31479c53507e4e52efd946dbeab1d48ea4633 (patch)
treeccd9450207da11ee6cd5cdcd7761d08d178d44c8 /setenv.sh
parent+x setenv.sh (diff)
downloadchess-games-10b31479c53507e4e52efd946dbeab1d48ea4633.tar.gz
chess-games-10b31479c53507e4e52efd946dbeab1d48ea4633.zip
grammar tweaks
Diffstat (limited to 'setenv.sh')
-rwxr-xr-xsetenv.sh7
1 files 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 "$@" \