]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
fix comment typos
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 18 Apr 2009 17:37:29 +0000 (19:37 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 19 Apr 2009 19:28:43 +0000 (21:28 +0200)
* bootstrap: Fix comment typos.
* src/pr.c: Likewise.

bootstrap
src/pr.c

index 3709ce6cef6f6a8fc3b5b358143550a979901e9e..700b69520c4ae55330b4aa5f3563c498349c160b 100755 (executable)
--- 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"
index 3b6e8015e58119b635719177cb71b829c0f83d87..f0910eb3053bcb7dfdca2296b410ff66f7e617ca 100644 (file)
--- 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.