Michael Debertol
b08f92cfa5
remove unneeded 'static
2021-04-21 17:50:22 +02:00
Michael Debertol
4a305b32c6
sort: disallow certain flags with -d and -i
...
GNU sort disallows these combinations, presumably because they are
likely not what the user really wants.
Ignoring characters would cause things to be put together that aren't
together in the input. For example, -dn would cause "0.12" or "0,12" to
be parsed as "12" which is highly unexpected and confusing.
2021-04-21 17:49:40 +02:00
Terts Diepraam
e382f7fa83
ls: fix test warnings on Windows
2021-04-21 17:43:57 +02:00
Terts Diepraam
34a824af71
ls: use lscolors crate
2021-04-21 17:35:02 +02:00
jaggededgedjustice
fb2ae04b8f
Remove broken GNU test for printf ( #2095 )
2021-04-21 14:22:05 +02:00
Terts Diepraam
29b5b6b276
ls: fix unit tests to match last change
2021-04-21 13:03:31 +02:00
Terts Diepraam
f34c992932
ls: always quote backslash in shell style
2021-04-21 12:45:21 +02:00
Árni Dagur
387227087f
cat: Put splice code in separate file, handle more failures ( #2067 )
...
* cat: Refactor splice code, handle more failures
* cat: Add tests for stdout redirected to files
2021-04-21 12:21:31 +02:00
Terts Diepraam
fd54614130
Merge branch 'master' into ls/fix_backslash_escape
2021-04-21 12:06:54 +02:00
Terts Diepraam
bee9156764
tests/ls: improve code cov
2021-04-21 12:03:48 +02:00
Terts Diepraam
f84f23ddfe
tests/ls: add coverage for special shell character after escaped char
2021-04-21 11:22:10 +02:00
Terts Diepraam
795d89f11d
ls: don't escape backslash in shell style quoting
2021-04-21 11:08:40 +02:00
electricboogie
25021f31eb
Incorporate overhead of Line struct
2021-04-19 21:24:52 -05:00
Sivachandran
0ea35f3fbc
Implement install create leading components(-D) option ( #2092 )
...
* Implement install's create leading components(-D) option
* Format changes
* Add install test to check fail on long dir name
2021-04-19 22:03:13 +02:00
electricboogie
b8d667c383
Clippy lints, more work on ext_sorter leads to 2 failing tests
2021-04-19 10:57:53 -05:00
Pedro Jordão
158ae35da5
Commented out code removal
2021-04-19 14:21:49 +01:00
Chirag Jadwani
3bb99e7047
uniq: avoid building list of duplicate lines
...
This reduces memory usage by only storing two lines of the input file at
a time. The current implementation first builds a list of all duplicate
lines ('group') and then decides which lines of the group should be
printed.
2021-04-19 17:02:59 +05:30
Sylvestre Ledru
879ab2ecb0
Disable test_no_options_big_input on freebsd too ( #2093 )
2021-04-19 11:14:04 +02:00
Jan Scheer
049f21a199
du: fix tests on linux ( #2066 ) ( #2090 )
2021-04-19 10:45:51 +02:00
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