Commit History

Author SHA1 Message Date
  Rob Landley b0a4a96e36 Remove non-posix "sort -h". 2 years ago
  Rob Landley 7aaf3f36f8 Teach sort -h to handle decimals. 2 years ago
  Rob Landley e28e5bb465 Add sort -h (human readable), have -u imply -s, and general cleanup. 2 years ago
  Rob Landley fb8ce59728 Cleanup, mostly whitespace. 4 years ago
  Elliott Hughes 30cb3aa0e3 sort: move off get_rawline. 4 years ago
  Elliott Hughes 95574e3f2a cmp/env/nice/nohup/sort: use TOYFLAG_ARGFAIL. 5 years ago
  Rob Landley 7709875b44 Document the -k2.3,4.5 syntax and make it behave closer to the other one. 5 years ago
  Elliott Hughes d5ad47d000 sort -o: fix behavior when output file is one of the input files. 5 years ago
  Rob Landley 4f5717dd14 First stab at sort -V 5 years ago
  Rob Landley 5ebd387640 Fix sort -x attached to a key. 5 years ago
  Rob Landley 747e296ff6 Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x) 5 years ago
  Elliott Hughes 141a075c0e Clean up some --help formatting. 5 years ago
  Rob Landley 95a1d0ec4d Remove CFG_SORT_BIG, just always do that. 5 years ago
  Rob Landley 79c403179b Coding style change: 1) Use argument letter for variable names filled out by 5 years ago
  Elliott Hughes eb7e847adc Be more consistent about periods in help text. 7 years ago
  wxj 7a7378629c Fix a bug for sort. When the key_separator is not space, the sort commandline tool fails to sort by the 3rd,4th,etc column. For example: when you exec 7 years ago
  Rob Landley 7ca907824d Fix sort -f, add tests, make TEST_HOST pass new tests. 8 years ago
  Rob Landley 3487bd353b Avoid integer overflow with insane input data. 9 years ago
  Rob Landley 137ac1f800 Kylie McClain pointed out that -z affects both input and output. 9 years ago
  Rob Landley 438ad4ce2c Clean up sort help text. 9 years ago
  Rob Landley 0432050a75 More elaborate help text collating logic. 10 years ago
  Rob Landley 7aa651a6a4 Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. 11 years ago
  Rob Landley c0e56edaf2 New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate. 11 years ago
  Rob Landley f91b7c89bc Regularize command headers, update links to standards documents. 12 years ago
  Rob Landley 3a9241add9 Move commands into "posix", "lsb", and "other" menus/directories. 12 years ago