diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-27 00:01:15 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-27 00:01:15 +1300 |
commit | b7ce245e859b946deee740bc617f2b997a52e9dd (patch) | |
tree | db832ca74e9973279a80733825d8fd36ddb8edab /ksh | |
parent | Break up some long lines (diff) | |
download | dotfiles-b7ce245e859b946deee740bc617f2b997a52e9dd.tar.gz dotfiles-b7ce245e859b946deee740bc617f2b997a52e9dd.zip |
Two-space sentences in shell comments
Diffstat (limited to 'ksh')
-rw-r--r-- | ksh/kshrc.d/keep.ksh | 2 | ||||
-rw-r--r-- | ksh/shrc.d/ksh.sh | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ksh/kshrc.d/keep.ksh b/ksh/kshrc.d/keep.ksh index 629b2fe6..c1546deb 100644 --- a/ksh/kshrc.d/keep.ksh +++ b/ksh/kshrc.d/keep.ksh @@ -9,7 +9,7 @@ esac # keep -- Main function for kshkeep; provided with a list of NAMEs, whether # shell functions or variables, writes the current definition of each NAME to a # directory $KSHKEEP (defaults to ~/.kshkeep.d) with a .ksh suffix, each of -# which is reloaded each time this file is called. This allows you to quickly +# which is reloaded each time this file is called. This allows you to quickly # arrange to keep that useful shell function or variable you made inline on # subsequent logins. # diff --git a/ksh/shrc.d/ksh.sh b/ksh/shrc.d/ksh.sh index cc6eeb32..8913b4a1 100644 --- a/ksh/shrc.d/ksh.sh +++ b/ksh/shrc.d/ksh.sh @@ -1,15 +1,15 @@ # If we're running some kind of ksh, we'll need to source its specific -# configuration if it was defined or if we can find it. Bash and Zsh invoke +# configuration if it was defined or if we can find it. Bash and Zsh invoke # their own rc files first, which I've written to then look for ~/.shrc; ksh # does it the other way around. # Unfortunately, this isn't very simple, because KSH_VERSION is set by PDKSH # and derivatives, and in ksh93t+ and above, but not in earlier versions of -# ksh93. To make matters worse, the best way I can find for testing the version +# ksh93. To make matters worse, the best way I can find for testing the version # makes other shells throw tantrums. -# Does the name of our shell have "ksh" in it at all? This is in no way -# guaranteed. It's just a heuristic that e.g. Bash shouldn't pass. +# Does the name of our shell have "ksh" in it at all? This is in no way +# guaranteed. It's just a heuristic that e.g. Bash shouldn't pass. case $0 in *ksh*) ;; *) return ;; @@ -19,7 +19,7 @@ esac # before we proceed ... if [ -z "$KSH_VERSION" ] ; then - # Test whether we have content in the .sh.version variable. Suppress errors + # Test whether we have content in the .sh.version variable. Suppress errors # and run it in a subshell to work around parsing error precedence. # shellcheck disable=SC2234 ( test -n "${.sh.version}" ) 2>/dev/null || return |