Commit graph

6656 commits

Author SHA1 Message Date
Sylvestre Ledru
f86e314f46 Fix some obvious comment
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-25 11:17:04 +01:00
Sylvestre Ledru
ceecac110c ln: manages the 'seen' file list before linking
Should help with tests/mv/childproof.sh
2023-12-23 13:53:26 +01:00
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
Daniel Hofstetter
1c6317af76 mv: allow dest with slash when using --update 2023-12-22 17:03:59 +01:00
Daniel Hofstetter
a8a5931cae ls: introduce 2nd blocksize & fix todos in tests 2023-12-22 11:42:01 +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
f16a4ae9c9 ls: remove condition with unreachable "else" block 2023-12-21 09:37:36 +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
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
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
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
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
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
Yykz
bd22aba03b make args of wc overriding 2023-12-18 12:47:37 +01:00
Daniel Hofstetter
e79eb097af
Merge pull request #5656 from sylvestre/ls-var
ls: manages the COLOR and COLORTERM variables
2023-12-18 07:16:38 +01:00
Sylvestre Ledru
5b45159996
Improve the comment 2023-12-17 17:40:44 +01:00
Sylvestre Ledru
af2625c8ce
fix order
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-17 17:39:02 +01:00
Akmal
052f38f14d
unexpand: remove crash! macro (#5588)
* unexpand_macro_fixed

* unexpand

* Remove crash

* Passed local test case

* Small changes

* unexpand: remove #[allow(clippy::cognitive_complexity)]

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-17 16:43:00 +01:00
Sylvestre Ledru
35ae43e71f
Merge pull request #5620 from lcheylus/openbsd-utmpx
Support unix feature on OpenBSD (utmpx not supported)
2023-12-16 18:15:11 +01:00
Daniel Hofstetter
9167a84358 ls: enable "colors" feature 2023-12-16 17:17:44 +01:00
Sylvestre Ledru
afc6ac8114
Apply change from c32e730a1f 2023-12-16 10:30:47 +01:00
Sylvestre Ledru
6621a1d6d6
Apply the change from c32e730a1f too 2023-12-16 10:30:17 +01:00
Sylvestre Ledru
1bfac9b25a
Merge branch 'main' into openbsd-utmpx 2023-12-16 10:29:16 +01:00
Sylvestre Ledru
f6d3f9afbf ls: manages the COLOR and COLORTERM variables
Should fix GNU tests/ls/color-term.sh
2023-12-16 09:50:37 +01:00
Sylvestre Ledru
01000a37a3 fix two minor clippy warnings 2023-12-16 09:40:38 +01:00
Daniel Hofstetter
f5b228d876
Merge pull request #5651 from tertsdiepraam/remove-parsemode
`mknod`: remove `parsemode.rs`
2023-12-15 16:36:32 +01:00
Daniel Hofstetter
88428cf5d7
Merge pull request #5649 from tertsdiepraam/remove-collect-lossy-and-ignore
all: remove `collect_{lossy,ignore}` calls where possible
2023-12-15 16:30:08 +01:00
Terts Diepraam
30c27c143c mknod: remove parsemode.rs
This file was entirely unused, so it's probably safe to remove it
2023-12-15 15:56:41 +01:00