Commit graph

11790 commits

Author SHA1 Message Date
Sylvestre Ledru
c94773f522 mv: make sure it continues when hiting an error 2023-12-23 13:27:00 +01:00
Sylvestre Ledru
9c7fd5e8cb mv: rename the variable to match the name in cp 2023-12-23 13:07:54 +01:00
Sylvestre Ledru
3af8ad0fe6 mv: manages the 'seen' file list before moving
Should help with tests/mv/childproof.sh
2023-12-23 13:07:39 +01:00
Sylvestre Ledru
06c98fbdd3 cp: don't fail when --backup=numbered is passed 2023-12-23 12:48:38 +01:00
Sylvestre Ledru
837640bc02 cp: manages the 'seen' file list before copying
Should help with tests/mv/childproof.sh
2023-12-23 12:11:35 +01:00
Sylvestre Ledru
6b1f51385f
Merge pull request #5693 from cakebaker/ls_second_blocksize
ls: introduce 2nd blocksize & fix todos in tests
2023-12-23 09:57:08 +01:00
Sylvestre Ledru
2635ddf719
Merge pull request #5695 from cakebaker/mv_update_destination_with_trailing_slash
mv: allow destination with slash when using --update
2023-12-23 09:08:08 +01:00
Daniel Hofstetter
1c6317af76 mv: allow dest with slash when using --update 2023-12-22 17:03:59 +01:00
Sylvestre Ledru
18388c0f97
Merge pull request #5694 from malt3/ci/release-artifacts/linux-aarch64-musl
ci: add aarch64-unknown-linux-musl release artifact
2023-12-22 12:58:23 +01:00
Daniel Hofstetter
a8a5931cae ls: introduce 2nd blocksize & fix todos in tests 2023-12-22 11:42:01 +01:00
Malte Poll
311901de3a ci: add aarch64-unknown-linux-musl release artifact 2023-12-22 11:28:26 +01:00
Sylvestre Ledru
546201bd00
fuzz: add the capability to pipe info into fuzz (#5668)
* fuzz: add the capability to pipe info into fuzz

* address the comments

* show the piped message if any
2023-12-21 16:18:00 +01:00
Daniel Hofstetter
6510115d9e
Merge pull request #5680 from tertsdiepraam/fsext-refactor
Fsext refactor
2023-12-21 15:55:30 +01:00
Sylvestre Ledru
e071fd3042
Merge pull request #5684 from allaboutevemirolive/v10_expand
expand: fix duplicate flags
2023-12-21 11:03:09 +01:00
Sylvestre Ledru
95852dbaa5
Merge pull request #5687 from cakebaker/ls_remove_condition
ls: remove condition with unreachable "else" block
2023-12-21 10:44:58 +01:00
Daniel Hofstetter
d305ccde4e
Merge pull request #5689 from tertsdiepraam/fmt
`test/sort`: run cargo fmt
2023-12-21 10:41:08 +01:00
Terts Diepraam
4b2577fc78 test/sort: run cargo fmt 2023-12-21 10:19:52 +01:00
Terts Diepraam
8ede759415
Merge pull request #5681 from just1602/5667_sort_should_accept_multiple_ignore_case_flag
sort: allow `-f` to be pass multiple time
2023-12-21 10:09:57 +01:00
allaboutevemirolive
f874788b2c Use better testcase 2023-12-21 10:48:58 +02:00
Daniel Hofstetter
f16a4ae9c9 ls: remove condition with unreachable "else" block 2023-12-21 09:37:36 +01:00
Daniel Hofstetter
f5ba7f62db
Merge pull request #5685 from sylvestre/dir2dir
mv: dir2dir: adjust GNU tests - our error message is better
2023-12-21 08:21:17 +01:00
Daniel Hofstetter
082120333d
Merge pull request #5683 from uutils/renovate/self_cell-1.x
chore(deps): update rust crate self_cell to 1.0.3
2023-12-21 07:03:28 +01:00
Sylvestre Ledru
07374a9588 mv: dir2dir: adjust GNU tests - our error message is better 2023-12-20 23:09:15 +01:00
allaboutevemirolive
3e6187269e fix duplicate flags 2023-12-20 23:30:46 +02:00
Justin !
a6ba81db20
sort: allow -f to be pass multiple time
Fix #5667
2023-12-20 12:42:57 -05:00
renovate[bot]
b7bbec6d0f
chore(deps): update rust crate self_cell to 1.0.3 2023-12-20 17:09:27 +00:00
Sylvestre Ledru
c20f009da4
Merge pull request #5676 from lcheylus/openbsd-fix
uucore: remove useless conversion for features/fs on OpenBSD
2023-12-20 15:44:34 +01:00
Terts Diepraam
f90713278f uucore/fsext: do not use dangerous macro for nul terminated UTF16 strings 2023-12-20 15:27:51 +01:00
Terts Diepraam
cc15876bb7 uucore/fsext: merge some windows imports 2023-12-20 15:27:51 +01:00
Terts Diepraam
d4a9d63ea2 uucore/fsext: refactor MountInfo construction 2023-12-20 15:27:51 +01:00
Sylvestre Ledru
de5c66adae
Merge pull request #5677 from cakebaker/ls_support_blocksize_env_var
ls: recognize BLOCKSIZE env var
2023-12-20 15:21:59 +01:00
Sylvestre Ledru
ce2a5d5b9a
expr fuzz: add missing ops. found thanks to oss fuzz coverage (#5557)
* expr fuzz: add missing ops. found thanks to oss fuzz coverage
https://storage.googleapis.com/oss-fuzz-coverage/rust-coreutils/reports/20231118/linux/src/rust-coreutils/src/uu/expr/src/syntax_tree.rs.html

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-20 15:15:20 +01:00
Daniel Hofstetter
d8709d2839 ls: recognize BLOCKSIZE env var 2023-12-19 15:00:06 +01:00
Sylvestre Ledru
6bcf4e2cec
tr: add 'boop' to the ignore spell check 2023-12-19 13:26:39 +01:00
Laurent Cheylus
b9d4f97e6d
uucore: remove useless conversion for features/fs on OpenBSD
- src/uucore/src/lib/features/fs.rs: in inode function, remove useless
    conversion for target_OS = OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2023-12-19 12:13:20 +01:00
Sylvestre Ledru
9920f13a34
Merge pull request #5640 from tertsdiepraam/tr-no-output
`tr`: operate on bytes instead of chars
2023-12-19 11:42:44 +01:00
Sylvestre Ledru
3d42619027
Merge pull request #5674 from cakebaker/ls_ignore_invalid_block_size_from_env_vars
ls: ignore invalid block size from env vars
2023-12-19 11:11:11 +01:00
Sylvestre Ledru
5cc5aa70ce
Merge pull request #5675 from cakebaker/ls_rename_display_file_name
ls: rename `display_file_name` to `display_item_name`
2023-12-19 11:10:49 +01:00
Daniel Hofstetter
d8f299eb48 ls: mention config.hyperlink in comment 2023-12-19 10:50:36 +01:00
Daniel Hofstetter
ebfbd8b1fe ls: rename display_file_name -> display_item_name 2023-12-19 10:50:36 +01:00
Daniel Hofstetter
a5606613bd ls: ignore invalid block size from env vars 2023-12-19 10:02:34 +01:00
Sylvestre Ledru
52af36d80b
Merge pull request #5673 from tertsdiepraam/expr-fix-comparison
`expr`: coerce to string before comparing values
2023-12-18 22:50:42 +01:00
Terts Diepraam
00b9cbe09e expr: coerce to string before comparing values 2023-12-18 22:24:31 +01:00
Sylvestre Ledru
b32c93ee5e
Merge pull request #5672 from cakebaker/ls_hyperlink_dirs
ls: support hyperlinks for dir names
2023-12-18 18:24:27 +01:00
Sylvestre Ledru
ece9e91593
Merge pull request #5671 from Yykz/wc_args_override
wc: fix arguments not overriding
2023-12-18 15:56:10 +01:00
Yykz
652e02fb59 cargo fmt 2023-12-18 15:34:51 +01:00
Daniel Hofstetter
917c6a4743 ls: support hyperlinks for dir names 2023-12-18 15:26:09 +01:00
Daniel Hofstetter
8c6463c525 ls: extract "create_hyperlink" function 2023-12-18 14:25:13 +01:00
Yykz
cae113c237 Added tests 2023-12-18 14:12:59 +01:00
Sylvestre Ledru
0fa074fcba
Merge pull request #5629 from cakebaker/ls_hyperlink_encode
ls: encode path when using --hyperlink
2023-12-18 13:38:08 +01:00