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
renovate[bot]
9324a52a56
chore(deps): update rust crate phf_codegen to 0.11.2
2023-06-24 08:25:07 +00:00
Sylvestre Ledru
da8cb64b74
Merge pull request #4989 from cakebaker/touch_rename_const
...
touch: rename CURRENT to TIMESTAMP
2023-06-24 10:24:21 +02:00
Sylvestre Ledru
ed71bb60e0
Merge pull request #4995 from cakebaker/nl_implement_default_for_settings
...
nl: implement Default for Settings
2023-06-24 10:24:08 +02:00
Daniel Hofstetter
d02bd2f3a0
Merge pull request #5000 from cakebaker/seq_remove_two_chars_in_md_file
...
seq: remove two chars in seq.md
2023-06-24 08:07:18 +02:00
Daniel Hofstetter
d57a5eb6a3
seq: remove two chars in seq.md
2023-06-24 07:07:38 +02:00
Daniel Hofstetter
b787a2ab9a
Merge pull request #4996 from uutils/renovate/itertools-0.x
...
fix(deps): update rust crate itertools to 0.11.0
2023-06-22 17:39:41 +02:00
renovate[bot]
0144a3c78f
fix(deps): update rust crate itertools to 0.11.0
2023-06-22 13:43:21 +00:00