diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-05 04:37:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-05 04:37:21 +0000 |
commit | 04c2f73f6fbadb5210812d12467a23bbab591691 (patch) | |
tree | 42b2653b47da40af881075aae76bfe43e4bdb41d | |
parent | f45ff2cfafdff83ac03c390fc131fd3e4364cdca (diff) | |
download | coreutils-04c2f73f6fbadb5210812d12467a23bbab591691.tar.xz |
Patch from Mike to fix handling of +x.yn.
-rw-r--r-- | src/sort.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sort.c b/src/sort.c index e359bbbc9..9379440b3 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1445,6 +1445,10 @@ set_ordering (s, key, blanktype) break; case 'n': key->numeric = 1; + if (blanktype == bl_start || blanktype == bl_both) + key->skipsblanks = 1; + if (blanktype == bl_end || blanktype == bl_both) + key->skipeblanks = 1; break; case 'r': key->reverse = 1; |