summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-04-18 19:37:29 +0200
committerJim Meyering <meyering@redhat.com>2009-04-19 21:28:43 +0200
commit2977df8e7d84928cd2c068cc0f7f002ec1299842 (patch)
treeb2d0ae8af6588ce4db4b115db3415e803f0a51b3 /bootstrap
parent48430d6a4a69f8dc53cc457a8ae69d7a4fa84015 (diff)
downloadcoreutils-2977df8e7d84928cd2c068cc0f7f002ec1299842.tar.xz
fix comment typos
* bootstrap: Fix comment typos. * src/pr.c: Likewise.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap b/bootstrap
index 3709ce6ce..700b69520 100755
--- a/bootstrap
+++ b/bootstrap
@@ -247,11 +247,11 @@ sort_ver() { #sort -V is not generally available
echo "$2 $1"
break
elif [ ! "$p1" = "$p2" ]; then
- if [ "$p1" -gt "$p2" ] 2>/dev/null; then #numeric comparision
+ if [ "$p1" -gt "$p2" ] 2>/dev/null; then #numeric comparison
echo "$2 $1"
- elif [ "$p2" -gt "$p1" ] 2>/dev/null; then #numeric comparision
+ elif [ "$p2" -gt "$p1" ] 2>/dev/null; then #numeric comparison
echo "$1 $2"
- else #numeric, then lexographic comparison
+ else #numeric, then lexicographic comparison
lp=$(printf "$p1\n$p2\n" | LANG=C sort -n | tail -n1)
if [ "$lp" = "$p2" ]; then
echo "$1 $2"