Commit graph

10897 commits

Author SHA1 Message Date
Sylvestre Ledru
b576fcb70e
Merge pull request #5113 from cakebaker/bump_unicode_linebreak
Bump unicode-linebreak from 0.1.4 to 0.1.5
2023-07-25 20:17:19 +02:00
Daniel Hofstetter
8a58b0ae74 deny.toml: remove hashbrown from skip list 2023-07-25 14:22:19 +02:00
Daniel Hofstetter
1642509302 Bump unicode-linebreak from 0.1.4 to 0.1.5 2023-07-25 14:20:48 +02:00
Sylvestre Ledru
f50cde252b only set SELINUX_ENABLED=1 on Linux 2023-07-24 21:30:23 +02:00
Daniel Hofstetter
6f37cb1684
Merge pull request #5111 from uutils/renovate/lscolors-0.x
chore(deps): update rust crate lscolors to 0.15.0
2023-07-24 15:16:31 +02:00
Sylvestre Ledru
a2296759da
Merge pull request #5110 from cakebaker/uucore_use_workspace
uucore: use "workspace=true" for some dependencies
2023-07-24 14:40:35 +02:00
renovate[bot]
781c915ba9
chore(deps): update rust crate lscolors to 0.15.0 2023-07-24 12:18:40 +00:00
Daniel Hofstetter
fe9ec37141 uucore: use "workspace=true" for some dependencies 2023-07-22 16:14:32 +02:00
Sylvestre Ledru
e77a1bf54c
Merge pull request #4342 from tmccombs/mktemp-req-equals
Require = for --tmpdir in mktemp
2023-07-21 14:36:25 +02:00
Sylvestre Ledru
15b3bf69a3
Merge pull request #5109 from cakebaker/csplit_remove_into_iter
csplit: remove explicit "into_iter()"
2023-07-21 12:10:32 +02:00
Daniel Hofstetter
d40a25db5d csplit: remove explicit "into_iter()" 2023-07-21 10:52:03 +02:00
Daniel Hofstetter
95cfa94b1b
Merge pull request #5105 from uutils/sylvestre-patch-2
Add the Perl Power Tools impl
2023-07-21 07:49:24 +02:00
Daniel Hofstetter
d00c7be859
Merge pull request #5108 from uutils/renovate/num-traits-0.x
chore(deps): update rust crate num-traits to 0.2.16
2023-07-21 07:41:43 +02:00
renovate[bot]
6b95aabaa2
chore(deps): update rust crate num-traits to 0.2.16 2023-07-21 01:07:21 +00:00
Sylvestre Ledru
6e28b3d8ad
Add the Perl Power Tools impl
Thanks Jarkko Hietaniemi
2023-07-20 19:29:03 +02:00
Sylvestre Ledru
91e1ddeea3
Merge pull request #5098 from cakebaker/nl_fix_zero_padding_of_negative_line_numbers
nl: fix zero padding of negative line numbers
2023-07-20 18:06:30 +02:00
Daniel Hofstetter
aef130dae7 nl: show error if --join-blank-lines is zero 2023-07-20 15:26:46 +02:00
Sylvestre Ledru
2c2374de0e
Merge pull request #5101 from miles170/make-uninstall-man-pages
make: uninstall man pages
2023-07-20 11:31:22 +02:00
Miles Liu
749a2476f4
make: uninstall man pages 2023-07-20 16:24:48 +08:00
Daniel Hofstetter
013e94522e nl: shorten variants of NumberingStyle enum 2023-07-20 09:45:21 +02:00
Daniel Hofstetter
8d5404cb57
Merge pull request #5099 from uutils/renovate/rlimit-0.x
chore(deps): update rust crate rlimit to 0.10.1
2023-07-20 08:04:08 +02:00
renovate[bot]
15a95b46db
chore(deps): update rust crate rlimit to 0.10.1 2023-07-19 22:20:31 +00:00
Daniel Hofstetter
d7d2ad52db nl: fix zero padding of negative line numbers 2023-07-19 16:22:53 +02:00
Sylvestre Ledru
e15e03a2bf
Merge pull request #5091 from cakebaker/nl_fix_output_of_line_numbers
nl: fix calculation of line number lengths
2023-07-19 15:39:35 +02:00
Daniel Hofstetter
9080645cb9
Merge pull request #5097 from uutils/renovate/signal-hook-0.x
chore(deps): update rust crate signal-hook to 0.3.17
2023-07-19 07:41:12 +02:00
Sylvestre Ledru
0126f20926
Merge pull request #5089 from cakebaker/cat_remove_long_version_of_t_arg
cat: remove --t
2023-07-18 19:35:06 +02:00
renovate[bot]
427bec8b88
chore(deps): update rust crate signal-hook to 0.3.17 2023-07-18 17:13:29 +00:00
Daniel Hofstetter
cf29f3f452
Merge pull request #5093 from sylvestre/fix-man-coreutils
Improve the coreutils manpage
2023-07-18 15:13:39 +02:00
Daniel Hofstetter
0f6058a25a
Merge pull request #5092 from sylvestre/make
make: split the manpage / completions generation into their target
2023-07-18 13:54:09 +02:00
Terts Diepraam
964b1d6e10 mktemp: fix both_tmpdir_flags_present test on windows 2023-07-18 12:46:05 +02:00
Thayne McCombs
536db164bf Fix mktemp test for windows 2023-07-18 12:46:05 +02:00
Thayne McCombs
6262a3e9d9 Add tests for mktemp tmpdir flags
And set overrides_with for tmpdir flags.

Tests were copied from #4275

Co-authored-by: David Matos <davidmatos06@gmail.com>
2023-07-18 12:46:05 +02:00
Thayne McCombs
b77a08c134 Require = for --tmpdir in mktemp
Fixes #3454

This implementation more closely matches the behavior of GNU mktemp. Specifically,
if using the short-form `-p`, then DIR is required, and if using the long form `--tmpdir`
then DIR is optional, but if provided, must use the `--tmpdir=DIR` form (not `--tempdir DIR`),
so that there is no ambiguity with also passing a TEMPLATE.

The downside to this implementation is we are now introducing a new workaround for
https://github.com/clap-rs/clap/issues/4702 where we use separate calls to `.arg()` for
the short `-p` and the long `--tmpdir`, which results in a less than ideal output for `--help`.
2023-07-18 12:46:05 +02:00
Daniel Hofstetter
27ee279913 nl: fix calculation of line number lengths 2023-07-18 09:30:23 +02:00
Sylvestre Ledru
83c8517142 coreutils multicall: the manpage subcommand doesn't display the right command
see https://manpages.debian.org/unstable/rust-coreutils/rust-coreutils.1.en.html
2023-07-17 22:46:34 +02:00
Sylvestre Ledru
7d44e96713 coreutils multicall: Sort the command by alphabetic order (for the man) 2023-07-17 22:45:52 +02:00
Sylvestre Ledru
69f74433b5 make: split the manpage / completions generation into their target
Thanks to this, it is easier to generate these files:
* make manpages
* make completions
2023-07-17 19:06:06 +02:00
Sylvestre Ledru
1d171b5166
Merge pull request #5060 from dezgeg/stty-control-chars
stty: Implement printing assignment of control chars
2023-07-17 09:13:46 +02:00
Sylvestre Ledru
e3f8f2ab25
Merge pull request #5090 from starccy/fix-shell-script-style
"style(util): fix/format scripts to meet the `shellcheck`/`shfmt` rules"
2023-07-17 09:13:30 +02:00
Starccy
b6ec498e0e "style: fix/format scripts to meet the shellcheck/shfmt rules" 2023-07-17 10:53:44 +08:00
Tuomas Tynkkynen
96dbd6d386 stty: Implement printing assignment of control chars
Part of #3861.

Code comments from sylvestre.

Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-07-16 17:49:23 +03:00
Daniel Hofstetter
373035fa08 cat: remove --t 2023-07-16 16:48:01 +02:00
Sylvestre Ledru
1b4ef90e25
Merge pull request #5077 from starccy/ci-checkshell-workflow
ci: Add a new workflow to check and format shell scripts in `util` dir
2023-07-16 10:06:28 +02:00
Sylvestre Ledru
cc2205d259
Merge pull request #5087 from uutils/renovate/signal-hook-0.x
chore(deps): update rust crate signal-hook to 0.3.16
2023-07-15 12:29:45 +02:00
renovate[bot]
831404406c
chore(deps): update rust crate signal-hook to 0.3.16 2023-07-15 09:18:10 +00:00
Sylvestre Ledru
c851d3c5dc
Merge pull request #5086 from shinhs0506/factor-vec
uucore: provide capacity for vectors
2023-07-15 10:05:26 +02:00
John Shin
beee15cbb9 Merge branch 'factor-vec' of https://github.com/shinhs0506/coreutils into factor-vec 2023-07-14 22:48:17 -07:00
John Shin
596fe4f66f uucore: provide capacity for vectors 2023-07-14 22:45:49 -07:00
John Shin
3de48dcde8 uucore: provide capacity for vectors 2023-07-14 21:05:12 -07:00
Sylvestre Ledru
78fed70982
Merge pull request #5078 from cakebaker/nl_allow_negative_values_for_i_and_v
nl: allow negative values for --line-increment and --starting-line-number
2023-07-15 00:21:51 +02:00