electricboogie
e7bcd59558
Remove a clone
2021-04-18 18:22:30 -05:00
electricboogie
fcebdbb7a7
Cleanup comment
2021-04-18 17:51:44 -05:00
electricboogie
5efd67b5e2
License cleanup
2021-04-18 17:44:45 -05:00
electricboogie
72858dda42
Ran rustfmt
2021-04-18 17:40:59 -05:00
electricboogie
258325491f
Make human_numeric_convert a method
2021-04-18 17:39:42 -05:00
electricboogie
8072e2092a
Cleanup loop, run rustfmt
2021-04-18 16:33:18 -05:00
electricboogie
deb94cef7a
Cleanup
2021-04-18 15:52:48 -05:00
electricboogie
559f4e81f6
More license cleanup
2021-04-18 15:47:05 -05:00
electricboogie
fb19522ca0
Bring back non-external sort as default
2021-04-18 15:39:20 -05:00
Aleksandar Janicijevic
df0304d8f4
touch: added unit test for test -m -t fail ( #2089 )
2021-04-18 22:36:43 +02:00
electricboogie
e841bb6a24
More license cleanup
2021-04-18 15:20:16 -05:00
electricboogie
9170e7a511
Modify NOTICE
2021-04-18 15:15:12 -05:00
electricboogie
298e269531
Remove unsed code
2021-04-18 15:08:42 -05:00
electricboogie
0151f30c4e
Change directory structure
2021-04-18 15:04:25 -05:00
electricboogie
e3e1ee30eb
Add additional notices
2021-04-18 14:37:16 -05:00
electricboogie
0275a43c5b
Make modifications clearer per Apache license
2021-04-18 14:05:27 -05:00
electricboogie
42da444f40
Remove unused deps
2021-04-18 13:49:11 -05:00
electricboogie
5bb66b26dd
Merge branch 'master' of https://github.com/uutils/coreutils
2021-04-18 13:45:33 -05:00
electricboogie
dad7761be9
Add test
2021-04-18 13:43:41 -05:00
electricboogie
da94e35044
Cleanup, removed unused code, add copyright
2021-04-18 13:02:50 -05:00
electricboogie
d7b7ce52bc
Vendored ext_sorter, removed unstable, created a byte buffer sized vector instead of a numbered capacity vector
2021-04-18 11:54:18 -05:00
Nicolas Thery
f36832c392
cp: add support for --reflink=never
...
- Passing `never` to `--reflink` does not raise an error anymore.
- Remove `Options::reflink` flag as it was redundant with
`reflink_mode`.
- Add basic tests for this option. Does not check that a copy-on-write
rather than a regular copy was made.
2021-04-18 18:51:59 +02:00
Sylvestre Ledru
d3f71810df
Merge pull request #2063 from jhscheer/iss2060
...
chown: fix #2060
2021-04-18 09:50:23 +02:00
Sylvestre Ledru
d3e18bc3d0
Merge pull request #2085 from denisidoro/patch-1
...
Fix typo in README
2021-04-18 09:49:59 +02:00
electricboogie
a73d108dd8
Merge branch 'master' of https://github.com/uutils/coreutils
2021-04-17 23:25:02 -05:00
electricboogie
4c8d62c2be
More cleanup
2021-04-17 23:24:32 -05:00
electricboogie
3a1e92fdd2
More cleanup
2021-04-17 22:39:05 -05:00
electricboogie
7a8767e359
Cleanup
2021-04-17 22:34:03 -05:00
electricboogie
65e9c7b1b5
Sorta working ExtSort - concat struct elements
2021-04-17 21:30:03 -05:00
Denis Isidoro
826b600470
Fix typo in README
2021-04-17 21:14:05 -03:00
Sylvestre Ledru
d6409dc9a1
Merge pull request #2078 from jhscheer/whoamid_refactor_tests
...
whoami/id: refactor tests for #1982
2021-04-18 00:41:13 +02:00
Jan Scheer
df2dcc5b99
chown: fix parse_spec() for colon ( #2060 )
2021-04-18 00:11:59 +02:00
Sylvestre Ledru
05de1085e7
Merge pull request #2084 from Gilnaa/more-refactoring
...
Refactored tests for more utilities
2021-04-18 00:05:25 +02:00
Gilad Naaman
93b03bf9a6
Ran cargo fmt
2021-04-18 02:33:52 +03:00
Gilad Naaman
b91fadd8f4
Refactored tests for more utilities
2021-04-18 02:32:43 +03:00
Michael Debertol
519b9d34a6
sort: use unstable sort when possible ( #2076 )
...
* sort: use unstable sort when possible
This results in a very minor performance (speed) improvement.
It does however result in a memory usage reduction, because unstable
sort does not allocate auxiliary memory. There's also an improvement in
overall CPU usage.
* add benchmarking instructions
* add user time
* fix typo
2021-04-17 22:40:13 +02:00
Jan Scheer
48121daf94
whoami/id: refactor tests for #1982
2021-04-17 22:29:07 +02:00
Pedro Jordão
01fef70143
Changes parameter parsing to clap
...
- Uses clap to parse parameters
- Removes of "allow" directive where they are not necessary
- Removes of unused variables
2021-04-17 20:42:05 +01:00
electricboogie
acfe0681d4
Merge branch 'master' of https://github.com/uutils/coreutils
2021-04-17 11:54:45 -05:00
Sylvestre Ledru
045eb0088a
Merge pull request #2068 from jhscheer/chown_refactor_tests
...
chown: refactor tests
2021-04-17 17:54:04 +02:00
Sylvestre Ledru
381864b9d3
Merge pull request #2081 from Gilnaa/refactor-cksum-tests
...
Remove direct usage of CmdResult fields in tests (cksum, pinky, mktemp, shred, stat, tail)
2021-04-17 17:53:37 +02:00
Gilad Naaman
c5d7f63b3c
Make CmdResult::code private
2021-04-17 18:50:41 +03:00
Gilad Naaman
600bab52ff
shred, stat, tail: Remove direct usage of CmdResult fields in test
2021-04-17 18:50:41 +03:00
Gilad Naaman
7c7e64e79c
pinky, mktemp: Remove direct usage of CmdResult fields in test
2021-04-17 15:14:49 +03:00
Gilad Naaman
0d1946a5d2
cksum: Remove direct usage of CmdResult fields in tests
2021-04-17 15:08:23 +03:00
Michael Debertol
4bbbe3a3f2
sort: implement numeric string comparison ( #2070 )
...
* sort: implement numeric string comparison
This implements -n and -h using a string comparison algorithm instead
of parsing each number to a f64 and comparing those.
This should result in a moderate performance increase and eliminate loss
of precision.
* cache parsed f64 numbers
For general numeric comparisons we have to parse numbers as f64,
as this behavior is explicitly documented by GNU coreutils.
We can however cache the parsed value to speed up comparisons.
* fix leading zeroes for negative numbers
* use more appropriate name for exponent
* improvements to the parse function
* move checks into main loop and fix thousands separator condition
* remove unneeded checks
* rustfmt
2021-04-17 13:49:35 +02:00
Sylvestre Ledru
481d1ee659
Merge pull request #2077 from tertsdiepraam/ls/dereference-command-line
...
ls: dereference command line
2021-04-17 13:31:52 +02:00
Sylvestre Ledru
c5b43c0994
rustfmt the recent change
2021-04-17 13:21:30 +02:00
Jan Scheer
9046e03a48
Merge branch 'master' into chown_refactor_tests
2021-04-17 11:48:43 +02:00
Sylvestre Ledru
eec389fa94
Merge branch 'master' into ls/dereference-command-line
2021-04-17 10:30:42 +02:00