bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix some comment typos.


From: Ralf Wildenhues
Subject: [PATCH] Fix some comment typos.
Date: Sat, 18 Apr 2009 19:37:29 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* bootstrap: Fix comment typos.
* src/pr.c: Likewise.
---

Hello Jim, all,

a trivial patch.  :-)

Cheers,
Ralf

 bootstrap |    6 +++---
 src/pr.c  |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bootstrap b/bootstrap
index 27e4ec2..73a850f 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"
diff --git a/src/pr.c b/src/pr.c
index 3b6e801..f0910eb 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -73,7 +73,7 @@
 
    The interference of the POSIX-compliant small letter options -w and -s:
    (`interference' means `setting a _separator_ with -s switches off the
-   column sturctur and the default - not generally - page_width,
+   column structure and the default - not generally - page_width,
    acts on -w option')
        options:       text form  / separator:     equivalent new options:
        -w l   -s[x]
@@ -92,7 +92,7 @@
    Options:
 
    Including version 1.22i:
-   Some SMALL LETTER options has been redefined with the object of a
+   Some SMALL LETTER options have been redefined with the object of a
    better POSIX compliance. The output of some further cases has been
    adapted to other UNIXes. A violation of downward compatibility has to
    be accepted.
-- 
1.6.1.505.gba743




reply via email to

[Prev in Thread] Current Thread [Next in Thread]