1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 09:41:07 +00:00
Commit graph

15365 commits

Author SHA1 Message Date
Sylvestre Ledru
fa17dc7809
Merge pull request #8022 from frendsick/test/enable-gnu-expr
expr: Remove `expr.pl` from `why-error.md`
2025-05-28 22:43:50 +02:00
Teemu Pätsi
e6784a600f
expr: Enable GNU test expr.pl 2025-05-28 22:43:06 +03:00
jovie :)
0f632f2fba
chroot: remove unwrap calls (#7890) 2025-05-28 09:29:19 +02:00
Sylvestre Ledru
15f606a12b
Merge pull request #8017 from jtracey/sync-safety
sync: reduce use of unsafe and improve comments
2025-05-28 08:43:36 +02:00
Daniel Hofstetter
76848de952
Merge pull request #8015 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.51
2025-05-28 07:19:45 +02:00
Daniel Hofstetter
a98630d43d
Merge pull request #8014 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.39
2025-05-28 07:19:15 +02:00
Justin Tracey
f32f1efc23
sync: reduce use of unsafe and improve comments 2025-05-27 23:00:10 -04:00
Justin Tracey
f8d6eea2dc
sync: remove Android workaround
The libc crate now exposes Android's sync like other unix platforms.
2025-05-27 22:26:32 -04:00
renovate[bot]
e92cf92f7e
chore(deps): update rust crate clap_complete to v4.5.51 2025-05-27 19:53:36 +00:00
renovate[bot]
72ccd8dcad
chore(deps): update rust crate clap to v4.5.39 2025-05-27 19:53:29 +00:00
Sylvestre Ledru
d6de30eef1
Merge pull request #8013 from oech3/stty
Add stty to GNUmakefile
2025-05-27 21:51:09 +02:00
E
c3cb9ef619
Add stty to GNUmakefile
Add `stty` to `GNUmakefile`
2025-05-28 03:21:05 +09:00
Daniel Hofstetter
5fd4ab5e33
Merge pull request #8010 from frendsick/fix/expr-regex-range-start-of-expression
expr: Fix handling of regex range quantifiers
2025-05-27 17:45:58 +02:00
Teemu Pätsi
eb7bc2f251
expr: Allow only ASCII digits for regex range quantifiers 2025-05-27 17:53:21 +03:00
Teemu Pätsi
4946922c0f
expr: Fix error message for large numbers as range index 2025-05-27 17:28:19 +03:00
Teemu Pätsi
74ad163da9
expr: Fix regex for validating range quantifier 2025-05-27 16:47:48 +03:00
Teemu Pätsi
2b565612ee
expr: Fix parsing regex range quantifier 2025-05-27 16:47:43 +03:00
Teemu Pätsi
ca6a10ea9a
expr: Only '^' requires special treatment at the start of regex 2025-05-27 15:27:35 +03:00
Teemu Pätsi
210f4f7154
expr: Simplify parsing a range quantifier 2025-05-27 14:58:52 +03:00
Teemu Pätsi
ce0c2320ea
expr: Remove redundant checks for UnmatchedOpeningBrace
It is handled in `verify_range_quantifier` function.
2025-05-27 14:36:06 +03:00
Teemu Pätsi
07caa4867b
expr: Fix error message for too big range quantifier index 2025-05-27 14:06:15 +03:00
Teemu Pätsi
6aeae43f3c
expr: Simplify verifying indexes within regex range quantifier 2025-05-27 13:10:51 +03:00
Teemu Pätsi
b1a91351bc
expr: Ignore test cases from spell checker 2025-05-27 04:34:38 +03:00
Teemu Pätsi
639310c697
expr: Fix testing UnmatchedOpeningBrace 2025-05-27 04:26:41 +03:00
Teemu Pätsi
6b49b26af7
expr: Remove redundant tests that should not work anymore 2025-05-27 04:26:41 +03:00
Teemu Pätsi
3065482440
expr: Anchor regex for detecting range quantifier 2025-05-27 04:26:41 +03:00
Teemu Pätsi
874a9304cf
expr: Remove nonexistent error UnmatchedClosingBrace
The closing brace without related opening brace is handled literally
2025-05-27 04:26:41 +03:00
Teemu Pätsi
bbc912eb75
expr: Add tests for regex range quantifiers 2025-05-27 04:26:37 +03:00
Teemu Pätsi
7789ef46a4
expr: handle \{ literally at the start of an expression
Normally, `\{` begins a range quantifier like `{n,m}`, but at the start of
an expression, there is no preceding item to apply the quantifier to.
2025-05-27 03:56:02 +03:00
Sylvestre Ledru
685df65cc5
Merge pull request #7993 from cakebaker/bump_type_map
Bump `type-map`
2025-05-26 18:35:45 +02:00
Sylvestre Ledru
745051b940
Merge pull request #7994 from cakebaker/ci_reduce_timeout_for_freebsd_jobs
ci: reduce timeout of freebsd jobs
2025-05-26 17:34:47 +02:00
Daniel Hofstetter
8dbc37e403
Merge pull request #7997 from frendsick/fix/expr-regex-range-quantifiers
expr: Fix parsing range quantifiers in regex
2025-05-26 17:01:32 +02:00
Teemu Pätsi
837bab24c1
expr: Add tests for is_valid_range_quantifier function 2025-05-26 17:03:55 +03:00
Teemu Pätsi
4ee93ed6d8
expr: Remove redundant escaping of '*' character 2025-05-26 16:51:44 +03:00
Teemu Pätsi
aae62072d8
expr: Fix parsing range quantifiers in regex 2025-05-26 15:59:35 +03:00
Daniel Hofstetter
a57bb7f084 ci: reduce timeout of freebsd jobs
from 90 min to 45 min
2025-05-26 09:45:50 +02:00
Daniel Hofstetter
fcfd9210cd
Merge pull request #7988 from drinkcat/bump_toml_edit
Cargo.lock: Bump toml_edit to latest version
2025-05-26 09:10:46 +02:00
Sylvestre Ledru
be77e142aa
Merge pull request #7991 from RenjiSann/sort-multiple-outputs
sort: prevent -o/--output to be specified multiple times
2025-05-26 08:10:49 +02:00
Daniel Hofstetter
12eb45281f deny.toml: remove rustc-hash from skip list 2025-05-26 07:37:41 +02:00
Daniel Hofstetter
eb16277f74 Bump type-map from 0.5.0 to 0.5.1 2025-05-26 07:31:11 +02:00
Dorian Peron
3b4226c48c sort: prevent -o/--output to be specified multiple times 2025-05-25 23:43:48 +02:00
Sylvestre Ledru
c992ce5507
Merge pull request #7948 from BenWiederhake/dev-shred-random-source
shred: implement and test feature --random-source
2025-05-25 22:58:18 +02:00
Sylvestre Ledru
142e4cc049
Merge pull request #7641 from drinkcat/doc-seq-printf
doc: extensions: Explain how printf/seq handle precision
2025-05-25 22:53:12 +02:00
Nicolas Boichat
3f12ed993a doc: extensions: Explain how printf/seq handle precision
There are some difference in behaviour vs GNU coreutils, explain
what those are.
2025-05-25 21:39:08 +02:00
Sylvestre Ledru
04e7de1546
Merge pull request #7976 from cakebaker/bump_onig
Bump `onig` from `6.4.0` to `6.5.1`
2025-05-25 21:32:41 +02:00
Nicolas Boichat
12f075cd95 Cargo.lock: Bump toml_edit to latest version
If we want to update parse_datetime, we'll need winnow 0.7.10
(and not 0.7.3).

So let's just bump here.

Test: cargo build --config 'patch.crates-io.parse_datetime.path="../parse_datetime"'
2025-05-25 21:24:41 +02:00
Daniel Hofstetter
e1db215194
Merge pull request #7987 from RenjiSann/flake-nix-cspell
flake.nix: Add cspell
2025-05-25 19:01:05 +02:00
Dorian Peron
2129caedbe flake.nix: Add cspell 2025-05-25 17:57:18 +02:00
Sylvestre Ledru
2f577a7d98
publish.sh: be more prescriptive on the grep (#7983)
otherwise, we are getting version.workspace first
2025-05-25 16:33:14 +02:00
Daniel Hofstetter
7221d000bc
Merge pull request #7985 from drinkcat/bump_onig_windows_reenable
Reenable windows-latest/x86_64-pc-windows-gnu (and do not update gcc)
2025-05-25 16:25:37 +02:00