Commit graph

10686 commits

Author SHA1 Message Date
Daniel Hofstetter
4cdff3ba89 docs: add "ls --long" to extensions 2023-06-30 10:31:47 +02:00
Daniel Hofstetter
2f6a87b1d4
Merge pull request #5022 from crapstones-forks/crapStone-patch-1
dd: fix typos
2023-06-29 18:00:45 +02:00
crapStone
863f91eca9
fix typos
some arguments had the wrong case
2023-06-29 15:34:19 +00:00
Daniel Hofstetter
4ec73aa184
Merge pull request #5019 from sargas/explain-gnu-build-clone
util/build-gnu.sh: Improve error message when missing GNU Coreutils repository
2023-06-29 16:38:31 +02:00
Daniel Hofstetter
610e0461e9
Merge pull request #5020 from indygreg/hashsum-file-stem
hashsum: use file_stem() instead of file_name()
2023-06-29 13:50:30 +02:00
Daniel Hofstetter
5b18c53c9d
Merge pull request #4999 from sylvestre/mv-backup-src
mv: add the check with --b=simple and when the source is a backup
2023-06-29 13:19:40 +02:00
Joseph Jon Booker
9bf1fb5838 util/build-gnu.sh reword error w/o gnu coreutils
For a new contributor, the message given by `utils/build-gnu.sh` is
fairly confusing - it starts with several lines of noise (showing
variables that are set in the script) followed by an error about missing
"GNU" and a `git` command string.

This commit changes the script to explicitly instruct the user to run
the `git clone` command. Since the GNU coreutils repository is probably
missing for new developers, this error is shown if the repository is
missing without including VARIABLE=value lines that are not actionable
yet.
2023-06-29 10:50:15 +02:00
Gregory Szorc
a7f95d5a23 hashsum: use file_stem() instead of file_name()
This program matches the binary name to determine which
algorithm to use. On Windows, `file_name()` was matching
against a string with `.exe`, causing binaries like
`sha256sum.exe` to not properly detect the algorithm.

By using `file_stem()`, we exclude the `.exe` from matching,
achieving similar and correct behavior on Windows.
2023-06-29 10:50:10 +02:00
Sylvestre Ledru
5c10180f6d
Merge pull request #5021 from cakebaker/bump_proc_macro2
Bump proc-macro2 from 1.0.47 to 1.0.63
2023-06-29 10:40:31 +02:00
Daniel Hofstetter
5a1829e897 Bump proc-macro2 from 1.0.47 to 1.0.63 2023-06-29 10:18:50 +02:00
Daniel Hofstetter
3357aa87a1
Merge pull request #5018 from sylvestre/memmap2
Move memmap2 in the root workpace
2023-06-29 09:31:04 +02:00
Sylvestre Ledru
682e0e3750
Merge pull request #5012 from cakebaker/seq_rename_widths_to_equal_width
seq: rename "--widths" to "--equal-width"
2023-06-28 23:24:47 +02:00
Sylvestre Ledru
14e5f89a0e Move memmap2 in the root workpace 2023-06-28 23:16:16 +02:00
Sylvestre Ledru
40c598852b mv: add the check with --b=simple and when the source is a backup 2023-06-28 23:11:28 +02:00
Sylvestre Ledru
24aff229da Add a function to detect if file is likely to be the simple backup file 2023-06-28 23:11:25 +02:00
Daniel Hofstetter
2d76a3b88e df: disable failing tests on Windows 2023-06-28 14:43:35 +02:00
John Shin
d2e7ba2da1 sort: add tests for stable and unstable sort 2023-06-27 12:15:58 -07:00
Sylvestre Ledru
5ce7ae56b6
Merge pull request #5016 from cakebaker/cp_fix_unused_var_warning_on_windows
cp: fix "unused variable" warning on Windows
2023-06-27 17:56:12 +02:00
Daniel Hofstetter
732dbb3f12 cp: fix "unused variable" warning on Windows 2023-06-27 16:46:50 +02:00
Sylvestre Ledru
461047c6a6
Merge pull request #5014 from cakebaker/cp_du_fix_warnings_on_windows
cp,du: fix warnings in tests on Windows
2023-06-27 16:15:39 +02:00
Daniel Hofstetter
c99d81a05b du: fix "unused import" warning on Windows 2023-06-27 15:05:27 +02:00
Daniel Hofstetter
01f70768d9 cp: fix "unused variable" warnings on Windows 2023-06-27 14:57:06 +02:00
John Shin
ca315499c3 ls: update test result for version compare 2023-06-26 16:58:04 -07:00
John Shin
0ff00ec44c uucore: leading zeros are ignored in version compare 2023-06-26 16:28:31 -07:00
Ideflop
c4c3a354f8 tests/more: test argument --from-line 2023-06-26 21:57:52 +02:00
Ideflop
77f8201fb8 more: fix bug not displaying next file message and not stopping at end of file 2023-06-26 21:57:52 +02:00
Ideflop
479340306e more: implement arguments -u/--plain and -F/--from-line 2023-06-26 21:57:45 +02:00
Daniel Hofstetter
c05dbfa3b4 seq: rename "--widths" to "--equal-width"
for compatibility with GNU seq
2023-06-26 16:21:59 +02:00
Terts Diepraam
873c6c36f7
Merge branch 'main' into ls_LZ 2023-06-26 15:52:52 +02:00
Daniel Hofstetter
9149409065
Merge pull request #4991 from shinhs0506/du_apparent
du: directories have apparent size of 0
2023-06-26 14:58:40 +02:00
Guillaume Ranquet
80c7ed9732 ls: force fetching metadata when called with -L -Z
The metadata are not used but it permits to check the symlink is valid.
We then return 1 on invalid symlinks when ls is invoked with ls -L -Z

Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
2023-06-26 14:46:56 +02:00
Daniel Hofstetter
c4b15a92a4
Merge pull request #5009 from uutils/renovate/self_cell-1.x
chore(deps): update rust crate self_cell to 1.0.1
2023-06-26 08:58:55 +02:00
Daniel Hofstetter
98dfba330c
Merge pull request #5011 from uutils/renovate/fundu-1.x
chore(deps): update rust crate fundu to 1.1.0
2023-06-26 08:02:30 +02:00
Daniel Hofstetter
6a7b5379ea
Merge pull request #5008 from uutils/renovate/libc-0.x
fix(deps): update rust crate libc to 0.2.147
2023-06-26 07:56:10 +02:00
renovate[bot]
c64f3ccbdd
chore(deps): update rust crate fundu to 1.1.0 2023-06-26 04:29:30 +00:00
John Shin
b34e7f7bf6 du: directories have apparent size of 0 2023-06-25 15:56:57 -07:00
Sylvestre Ledru
644fd1c93e fix some clippy warnings 2023-06-25 22:29:08 +02:00
Nikolai
0b06f2b4a8 fixing seq panic on none 2023-06-25 22:23:40 +02:00
renovate[bot]
0ba972b213
chore(deps): update rust crate self_cell to 1.0.1 2023-06-25 19:15:50 +00:00
Sylvestre Ledru
b03a88e154
Merge pull request #4972 from cakebaker/sort_migrate_from_ouroboros_to_self_cell
sort: migrate from ouroboros to self_cell
2023-06-25 21:15:02 +02:00
renovate[bot]
824097d224
fix(deps): update rust crate libc to 0.2.147 2023-06-25 19:09:01 +00:00
Sylvestre Ledru
85c4e7d797
Merge pull request #5007 from cakebaker/docs_add_seq_to_extensions
docs: add seq to extensions; add some backticks
2023-06-25 21:08:06 +02:00
Daniel Hofstetter
ae90bad6cf docs: add seq to extensions; add some backticks 2023-06-25 16:53:50 +02:00
Daniel Hofstetter
83596e7090
Merge pull request #5006 from uutils/renovate/vmactions-freebsd-vm-0.x
chore(deps): update vmactions/freebsd-vm action to v0.3.1
2023-06-25 15:32:55 +02:00
renovate[bot]
2f1b710752
chore(deps): update vmactions/freebsd-vm action to v0.3.1 2023-06-25 12:12:26 +00:00
Daniel Hofstetter
d1aefc2cc8
Merge pull request #5004 from sylvestre/case
Remove the auto capitalization of error message
2023-06-25 14:12:03 +02:00
Sylvestre Ledru
ddcdda44db Remove the auto capitalization of error message 2023-06-25 00:18:33 +02:00
Daniel Hofstetter
ab8aa32e60
Merge pull request #5001 from uutils/renovate/phf-0.x
chore(deps): update rust crate phf to 0.11.2
2023-06-24 14:43:28 +02:00
renovate[bot]
a02b3354e6
chore(deps): update rust crate phf to 0.11.2 2023-06-24 11:23:11 +00:00
Daniel Hofstetter
5d50d7bd82
Merge pull request #5002 from uutils/renovate/phf_codegen-0.x
chore(deps): update rust crate phf_codegen to 0.11.2
2023-06-24 13:22:24 +02:00