projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45ff2c
)
Patch from Mike to fix handling of +x.yn.
author
Jim Meyering
<jim@meyering.net>
Fri, 5 May 1995 04:37:21 +0000
(
04:37
+0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 5 May 1995 04:37:21 +0000
(
04:37
+0000)
src/sort.c
patch
|
blob
|
history
diff --git
a/src/sort.c
b/src/sort.c
index
e359bbb
..
9379440
100644
(file)
--- 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;