sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 992322cf3627b821627f5f877c391037b385b5ed
parent 27e8d36c3fd6e1e208e065b4cfbc5fefe3d8c243
Author: Jakob Kramer <jakob.kramer@gmx.de>
Date:   Sun Apr  5 20:31:28 +0200

sort: apply -b only to "custom" keys

Diffstat:
sort.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sort.c b/sort.c @@ -283,8 +283,9 @@ main(int argc, char *argv[]) usage(); } ARGEND; + /* -b shall only apply to custom key definitions */ if (!head && global_flags) - addkeydef("1", global_flags); + addkeydef("1", global_flags & ~(MOD_STARTB|MOD_ENDB)); addkeydef("1", global_flags & MOD_R); if (!argc) {