commit | eb9bda878736344d1bef06d42e57e96de542a663 | [log] [tgz] |
---|---|---|
author | FRIGN <dev@frign.de> | Mon Feb 29 00:47:10 2016 +0100 |
committer | sin <sin@2f30.org> | Thu Mar 10 08:48:09 2016 +0000 |
tree | df34c0668d4205fb9f54619fb805425de5682f23 | |
parent | e4810f1cdbcdfdce506563200ea99334e82bd03c [diff] |
Support NUL-containing lines in sort(1) For sort(1) we need memmem(), which I imported from OpenBSD. Inside sort(1), the changes involved working with the explicit lengths given by getlines() earlier and rewriting some of the functions. Now we can handle NUL-characters in the input just fine.