Commit graph

12215 commits

Author SHA1 Message Date
Daniel Hofstetter
bfe6f0f004
Merge pull request #5979 from BenWiederhake/dev-shuf-null-input
shuf: Treat empty file as zero elements instead of one emptystring
2024-02-16 09:19:44 +01:00
David Matos
de74f707e9
uname: Refactor into public fns for Nushell (#5921)
* Refactor to use options struct and make it public for Nushell

* Return the output for use in nushell

* wip:opt1

* Add UNameOutput struct instead

* Apply req changes

* change back to mod options

* uname: add empty line & fix position of comment

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-02-16 08:53:36 +01:00
Ben Wiederhake
e54c9bebe2 shuf: Treat empty file as zero elements instead of one emptystring 2024-02-16 00:06:24 +01:00
Terts Diepraam
c9677abeed
Merge pull request #5977 from cakebaker/ln_fix_help_text
ln: fix help text
2024-02-15 16:44:53 +01:00
Daniel Hofstetter
35141deeee ln: fix help text 2024-02-15 14:38:26 +01:00
Daniel Hofstetter
629a926829
Merge pull request #5973 from biplab5464/issue_4924
pr: use chrono instead of time in tests #5972
2024-02-15 09:30:27 +01:00
biplab5464
04c821ca78 pr: use chrono instead of time in tests #5972 2024-02-14 23:08:34 +05:30
Daniel Hofstetter
6adaf31d49
Merge pull request #5962 from wolimst/cut/fix/multiple-mode-args
cut: show error for multiple mode args (`-b`, `-c`, `-f`)
2024-02-14 14:23:47 +01:00
wolimst
6bec96aad1 cut: refactor mode args counting by removing nested map 2024-02-14 20:02:42 +09:00
BaherSalama
5603305e75
fix tr with any flag with more than 2 operands (#5952)
* fix tr

* add tests

* fix clippy

* fix clippy2

* do suggestions

* do suggestions

* remove mut

* tr: move var to block & remove its type

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-02-13 15:30:15 +01:00
Daniel Hofstetter
826cdbe3dc
Merge pull request #5940 from cre4ture/fix/stabilize_android_build_memory_kill_split
`split` fix android memory kill in split
2024-02-12 16:50:19 +01:00
Daniel Hofstetter
f07df8a0d1
Merge pull request #5971 from malt3/fix/cicd-on-tag
ci: run CICD workflow on tag creation
2024-02-12 15:57:23 +01:00
Malte Poll
bf7d7a55dc ci: run CICD workflow on tag creation
Fixes 4d2bdf4. For a release to be triggered, the workflow has
to run with GITHUB_REF=refs/tags/X.Y.Z, which was disabled by
limiting the push trigger to a branch.
2024-02-12 13:03:05 +01:00
Sylvestre Ledru
b4c8a1aee0
Merge pull request #5970 from cakebaker/ls_date_rename_duration_to_time_delta
ls,date: rename `chrono::Duration` to `chrono::TimeDelta`
2024-02-11 14:18:13 +01:00
Sylvestre Ledru
38a8de875a
Merge pull request #5965 from cre4ture/fix/full_backtrace_android
CI Android: set environmental variable for BACKTRACE to right value
2024-02-11 13:39:16 +01:00
Sylvestre Ledru
e3c10bcfd3
Merge pull request #5969 from tertsdiepraam/tsort-opt
`tsort`: drastically reduce memory copies
2024-02-11 13:34:02 +01:00
Daniel Hofstetter
120a0e09fc ls,date: rename chrono::Duration to TimeDelta 2024-02-11 13:24:20 +01:00
Daniel Hofstetter
43284b4b33
Merge pull request #5967 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.34
2024-02-11 13:07:52 +01:00
Terts Diepraam
e0c2714d60 tsort: drastically reduce memory copies 2024-02-11 10:57:19 +01:00
renovate[bot]
3c9b5d35e6
chore(deps): update rust crate chrono to ^0.4.34 2024-02-11 06:46:34 +00:00
Ulrich Hornung
ce04315424
set environmental variable to right value 2024-02-10 15:43:36 +01:00
Ulrich Hornung
e68312cae9 sane blksize to avoid memory kill in split -n 3 /dev/zero 2024-02-10 14:33:13 +01:00
Terts Diepraam
da139c9524
Merge pull request #5955 from tertsdiepraam/printf-pad-octal-prefix
`printf`: pad unsigned numbers properly
2024-02-10 11:41:33 +01:00
wolimst
0ac8606577 cut: add comments about handling multiple cutting mode args 2024-02-09 22:15:18 +09:00
Daniel Hofstetter
337bfeebc1 uucore/num_format: fix typo in comment 2024-02-09 13:28:18 +01:00
Terts Diepraam
3126e5f8a1 printf: fix padding and prefixes for unsigned ints 2024-02-09 13:28:18 +01:00
Terts Diepraam
4dae902429 printf: pad octal numbers with zeros on the left 2024-02-09 13:28:18 +01:00
Terts Diepraam
d4ee5ebc85
Merge pull request #5959 from cakebaker/clippy_fix_warnings_1_76
clippy: fix warnings introduced by Rust 1.76
2024-02-09 12:56:58 +01:00
wolimst
cb0ce0e1cb cut: show error for multiple mode args (-b, -c, -f) 2024-02-09 15:56:15 +09:00
Daniel Hofstetter
04ebd863a6 clippy: fix warnings introduced by Rust 1.76 2024-02-08 16:56:01 +01:00
Sylvestre Ledru
dd64bae278
Merge pull request #5957 from cakebaker/tr_fix_intermittent_test
tr: fix intermittent test caused by pipe_in()
2024-02-08 08:50:12 +01:00
Daniel Hofstetter
9995c637aa tr: fix intermittent test caused by pipe_in() 2024-02-08 07:25:09 +01:00
Daniel Hofstetter
3871c14190
Merge pull request #5871 from cakebaker/bump_shlex
Bump shlex from 1.1.0 to 1.3.0
2024-02-08 07:17:58 +01:00
Daniel Hofstetter
9f8ea47981
Merge pull request #5874 from cakebaker/bump_smallvec
Bump smallvec from 1.13.0 to 1.13.1
2024-02-08 07:17:06 +01:00
Daniel Hofstetter
86e589f95b
Merge pull request #5956 from uutils/renovate/num-traits-0.x
chore(deps): update rust crate num-traits to 0.2.18
2024-02-08 07:10:36 +01:00
renovate[bot]
9c96f489a8
chore(deps): update rust crate num-traits to 0.2.18 2024-02-08 01:32:51 +00:00
Sylvestre Ledru
6998c1a3db
Merge pull request #5954 from cakebaker/cargo_rename_config
cargo: rename `config` to `config.toml`
2024-02-07 11:13:39 +01:00
Daniel Hofstetter
744d94e630 cargo: rename "config" to "config.toml" 2024-02-07 09:15:04 +01:00
Daniel Hofstetter
fb3f3e3682
Merge pull request #5953 from uutils/renovate/unicode-segmentation-1.x
chore(deps): update rust crate unicode-segmentation to 1.11.0
2024-02-07 09:02:18 +01:00
renovate[bot]
5616ff970f
chore(deps): update rust crate unicode-segmentation to 1.11.0 2024-02-07 07:27:44 +00:00
BaherSalama
5c2ae5be4f
fix tr with delete flag if more than 1 operand given (#5945)
* fix tr

* fix

* adding a test

* tr: rename test function

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-02-06 16:42:08 +01:00
Daniel Hofstetter
4c187e29d4
Merge pull request #5949 from tertsdiepraam/command-descriptions
`seq`: fix about text not found
2024-02-06 14:34:09 +01:00
Terts Diepraam
0b89a734b6 uucore: make help_{about,usage} fail if no text is found 2024-02-06 13:45:43 +01:00
Terts Diepraam
64cb591e3b seq: fix about text not found 2024-02-06 13:45:12 +01:00
Daniel Hofstetter
c638ea9fb0
Merge pull request #5948 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.10.0
2024-02-06 07:07:06 +01:00
renovate[bot]
b6214010a7
chore(deps): update rust crate tempfile to 3.10.0 2024-02-05 22:43:03 +00:00
Daniel Hofstetter
dcb5c2ea97
Merge pull request #5943 from cre4ture/fix/disk_space_issue_in_android_builds
`ci`: android disk space issue
2024-02-05 10:21:51 +01:00
Sylvestre Ledru
c1c2613056
Merge pull request #5947 from cakebaker/ci_use_newer_cspell
ci: use latest version of `cspell`
2024-02-05 09:32:18 +01:00
Daniel Hofstetter
d2a75457f6 Fix errors reported by new version of cspell 2024-02-05 09:12:52 +01:00
Daniel Hofstetter
921cbe4dba ci: use latest version of cspell 2024-02-05 09:12:52 +01:00