Commit graph

10552 commits

Author SHA1 Message Date
John Shin
b93bae2964 tail: fix parsing logic and add quote 2023-05-30 13:34:00 -07:00
John Shin
f10faf21bc head: interpret size as decimal 2023-05-30 13:32:48 -07:00
renovate[bot]
abff446691
chore(deps): update rust crate ctrlc to 3.4 2023-05-30 18:41:48 +00:00
John Shin
a8219403a6 Merge branch 'core-size' of https://github.com/shinhs0506/coreutils into core-size 2023-05-30 10:56:26 -07:00
Sylvestre Ledru
f830b6e68f update to platform-info 2.0.1 2023-05-30 17:43:54 +02:00
Sylvestre Ledru
58bf998919
Ignore some words 2023-05-30 15:49:53 +02:00
Daniel Hofstetter
4d2cfd9db9
Merge pull request #4907 from uutils/renovate/ctrlc-3.x
chore(deps): update rust crate ctrlc to 3.3
2023-05-30 15:38:39 +02:00
John Shin
a397920183 core: refactor parse_number in size parser 2023-05-30 13:56:01 +02:00
John Shin
0465553f6e core: size parser treat 000 as decimal 2023-05-30 13:56:01 +02:00
John Shin
8ef926c6e8 core: refactor num and unit split 2023-05-30 13:56:01 +02:00
John Shin
6cadffc8f1 core: fix clippy warning for size parser 2023-05-30 13:56:01 +02:00
John Shin
3ca003846d shred: add support for hex and octal size 2023-05-30 13:56:01 +02:00
John Shin
6278c6f2d6 core: add octal and hex size parse support 2023-05-30 13:56:01 +02:00
Daniel Hofstetter
1781a5db1d
Merge pull request #4698 from uutils/renovate/windows-sys-0.x
fix(deps): update rust crate windows-sys to 0.48.0
2023-05-30 13:40:49 +02:00
Daniel Hofstetter
62efca6f06
Merge pull request #4803 from uutils/renovate/dns-lookup-2.x
fix(deps): update rust crate dns-lookup to v2
2023-05-30 13:38:06 +02:00
Daniel Hofstetter
e7d95dc362
Merge pull request #4702 from uutils/renovate/terminal_size-0.x
chore(deps): update rust crate terminal_size to 0.2.6
2023-05-30 13:35:40 +02:00
Daniel Hofstetter
5f10ca3302
Merge pull request #4716 from uutils/renovate/is-terminal-0.x
chore(deps): update rust crate is-terminal to 0.4.7
2023-05-30 13:33:28 +02:00
renovate[bot]
b1cfa22455
chore(deps): update rust crate ctrlc to 3.3 2023-05-30 10:01:25 +00:00
John Shin
81871d54a2 core: refactor parse_number in size parser 2023-05-30 00:33:14 -07:00
John Shin
aed8a5759a core: size parser treat 000 as decimal 2023-05-30 00:27:09 -07:00
John Shin
af528ba84e core: refactor num and unit split 2023-05-30 00:26:17 -07:00
Ideflop
f1c943ed31 more: error handling for write_all in function paging_add_back_message 2023-05-30 09:03:00 +02:00
renovate[bot]
2ec70dc05d
fix(deps): update rust crate dns-lookup to v2 2023-05-30 06:37:02 +00:00
renovate[bot]
8f9a328c6a
fix(deps): update rust crate windows-sys to 0.48.0 2023-05-30 06:36:57 +00:00
renovate[bot]
2e070224a5
chore(deps): update rust crate terminal_size to 0.2.6 2023-05-30 06:36:49 +00:00
renovate[bot]
f02b2345ee
chore(deps): update rust crate is-terminal to 0.4.7 2023-05-30 06:36:45 +00:00
Daniel Hofstetter
4f89d860b7
Merge pull request #4881 from uutils/renovate/clap-4.x
chore(deps): update rust crate clap to 4.3
2023-05-30 08:34:36 +02:00
Daniel Hofstetter
191f2380b9
Merge pull request #4905 from sylvestre/mv-n
mv: Show 'skipped' when a file isn't overwriten
2023-05-30 07:27:48 +02:00
renovate[bot]
d98c81802f
chore(deps): update rust crate clap to 4.3 2023-05-30 05:21:01 +00:00
John Shin
6233ad6dd7 core: fix clippy warning for size parser 2023-05-29 20:59:21 -07:00
John Shin
f8a46196ef shred: add support for hex and octal size 2023-05-29 20:17:13 -07:00
John Shin
2b3594a5f5 core: add octal and hex size parse support 2023-05-29 20:02:14 -07:00
Sylvestre Ledru
f2006a9a6b cp: add support of cp --debug 2023-05-29 22:44:57 +02:00
Daniel Hofstetter
d1349b30fa Add windows-targets & its deps to deny.toml 2023-05-29 21:58:31 +02:00
Daniel Hofstetter
63d8039d55 Bump windows-targets from 0.42.1 to 0.42.2 2023-05-29 21:58:31 +02:00
Sylvestre Ledru
d38797bb50 mv: Show 'skipped' when a file isn't overwriten
Should fix tests/mv/mv-n.sh
2023-05-29 21:57:42 +02:00
Sylvestre Ledru
d303af31b7 cp: Accept --preserve=link
Used for example in:
tests/mv/hard-3.sh
2023-05-29 15:46:18 +02:00
Ideflop
6c98b23e80 more: implement arguments -n/--lines and --number 2023-05-29 14:36:18 +02:00
Daniel Hofstetter
b4f5a87f64
Merge pull request #4913 from uutils/renovate/once_cell-1.x
chore(deps): update rust crate once_cell to 1.17.2
2023-05-29 14:12:02 +02:00
Terts Diepraam
f89182e89b
Merge pull request #4911 from jeddenlea/uniq
uniq: non-UTF-8 file names and fewer copies
2023-05-29 13:49:34 +02:00
Daniel Hofstetter
19c4281495
Merge pull request #4912 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.25
2023-05-29 13:48:15 +02:00
renovate[bot]
af90bbd2d3
chore(deps): update rust crate once_cell to 1.17.2 2023-05-29 10:29:39 +00:00
renovate[bot]
d75e15fbca
chore(deps): update rust crate chrono to ^0.4.25 2023-05-29 10:29:34 +00:00
GaryDev
4cc569f5f0
whoami: add test to improve coverage
* tests/whoami: add windows test for issue #4614

* tests/whoami issue #4614: add all platform test
2023-05-29 07:34:19 +02:00
Jed Denlea
d6562b2b5f uniq: non-UTF-8 file names and fewer copies
uniq ought to be able to work with files whose names are not UTF-8.

I've also taken the chance to remove some unnecessary String
allocations.

Additionally, both open_input_file and open_output_file were returning
items with two implie levels of `Box<dyn ...>` that were not necessary.

In the case of stdin as input, it was not necessary to wrap stdin with a
BufReader, StdinLock implements BufRead itself.
2023-05-28 17:25:39 -07:00
Daniel Hofstetter
9ae9d5cd58
Merge pull request #4679 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.5.0
2023-05-28 11:38:40 +02:00
Daniel Hofstetter
e23a57a193
Merge pull request #4670 from uutils/renovate/redox_syscall-0.x
chore(deps): update rust crate redox_syscall to 0.3
2023-05-28 11:36:05 +02:00
Kamil Ogórek
07434647ad
fix: Correctly detect format when using md5sum with check flag (#4645) 2023-05-27 23:56:15 +02:00
Sylvestre Ledru
388fa1b717
Merge pull request #4696 from jeddenlea/wc
wc: streaming --files0-from and other improvements
2023-05-27 23:55:16 +02:00
renovate[bot]
c92ca96b18
chore(deps): update rust crate tempfile to 3.5.0 2023-05-27 18:58:28 +00:00