diff options
-rwxr-xr-x | bootstrap | 6 | ||||
-rw-r--r-- | src/pr.c | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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" @@ -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. |