Daniel Hofstetter
6085cf12e3
Merge pull request #5353 from tommady/fix-5327
...
cp: fix cp -a --no-preserve=mode doesn't keep fully the mode
2023-10-25 13:34:45 +02:00
Terts Diepraam
96d0830952
Merge pull request #5446 from cakebaker/ls_try_get_matches_from
...
ls: use try_get_matches_from instead of get_matches_from
2023-10-25 11:25:40 +02:00
Daniel Hofstetter
f8a30d524e
cp: rename handling_no_preserve_mode
...
to handle_no_preserve_mode
2023-10-25 10:43:23 +02:00
Daniel Hofstetter
086f7b548c
cp: replace word in comment
2023-10-25 10:20:01 +02:00
Daniel Hofstetter
6f84e56e28
ls: return exit code 2 for invalid time-style
2023-10-24 16:33:04 +02:00
Daniel Hofstetter
fd18d2686f
ls: return exit code 2 for -l --dired --zero
2023-10-24 14:48:24 +02:00
David Matos
769eb29cd3
mv: moving directory itself should fail ( #5429 )
...
* mv: moving directory itself should fail
* mv: Check trailing slash also fails on target containing itself
* mv: add "spell-checker:ignore mydir" to test
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-24 10:54:23 +02:00
Daniel Hofstetter
d7b7dfeb16
ls: use try_get_matches_from instead of
...
get_matches_from to replace clap's exit code
2023-10-24 10:07:28 +02:00
Yury Zhytkou
a3fed79b5c
split
: suffix auto length (#5433 )
2023-10-23 22:47:39 +02:00
Sylvestre Ledru
209ffe831d
Merge pull request #5441 from n1000/test_ot_fix
...
test: use mtime for -ot and fix direction of comparison
2023-10-23 20:59:30 +02:00
Daniel Hofstetter
aa2e9c11bc
Merge pull request #5439 from sylvestre/runcon-error
...
runcon: generate the same error as GNUs
2023-10-23 07:28:23 +02:00
Nathan Houghton
dbfd700502
test: use mtime for -ot and fix direction of comparison
...
- Use the file modification time instead of the creation time (matches
GNU coreutils documentation)
- Fix direction of comparison (a < b instead of a > b)
- Extend test case to cover both the 0 and 1 exit code cases
2023-10-22 17:44:40 -07:00
Sylvestre Ledru
03d598d08b
Merge pull request #5430 from cakebaker/cp_remove_destination_shouldnt_fail
...
cp --remove-destination: don't fail if destination is symlink to source
2023-10-22 22:17:32 +02:00
Sylvestre Ledru
897af02d9d
runcon: generate the same error as GNUs
...
tested in tests/runcon/runcon-no-reorder.sh
2023-10-22 21:43:49 +02:00
Sylvestre Ledru
4472acf909
ls --dired: document the whole thing
2023-10-20 13:29:38 +02:00
Daniel Hofstetter
772892e2e4
cp: --rem don't fail if dest is symlink to source
2023-10-20 09:41:30 +02:00
Yury Zhytkou
eede467e21
split
: --filter
and stdin updates (#5418 )
2023-10-20 08:47:32 +02:00
Sylvestre Ledru
f971a69d69
ls --dired -R: fix the positions ( #5341 )
...
* move get_offset_from_previous_line into a specific function
* dired: improve the -R support
* dired: fix the display with subdir
* ls --dired -R: fix the positions
* ls --dired -R: verify also the SUBDIRED coordinate
* ls --dired -R: add a long file name and fix a windows test
* dired: always put dired first in the args + minor fixes
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
* ls: add cognitive_complexity to silent a warning
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-19 14:17:34 +02:00
Daniel Hofstetter
383dcde51a
mv: comment why some imports are public
2023-10-19 10:08:45 +02:00
David Matos
90c2dbb0cc
mv: make UpdateMode public
2023-10-19 09:50:21 +02:00
Daniel Hofstetter
a3c6d6d91e
Merge pull request #5423 from Luv-Ray/fix-pathchk-issue5314
...
`pathchk`: check empty path by default
2023-10-19 09:33:42 +02:00
Sylvestre Ledru
4573eb693f
Merge pull request #5357 from zhitkoff/issue5334-uucore-parse-r-q
...
Implement SI prefixes R and Q
2023-10-18 18:55:17 +02:00
Zhuoxun Yang
1ab8555a94
pathchk: check empty path
2023-10-18 22:50:43 +08:00
Daniel Hofstetter
7a608196dc
Merge pull request #5356 from terade/refactoring_prompt_file
...
`rm`: refactor `prompt_file`, issue #5345
2023-10-18 07:04:22 +02:00
terade
b6a6a4dc65
rm: apply suggestion of retrieving metatada in function
2023-10-17 17:26:27 +02:00
zhitkoff
cb7479e823
uucore: implement SI suffixes R and Q
2023-10-17 10:50:50 -04:00
Zhuoxun Yang
d325a952ee
expr: return "0" for |
2023-10-17 22:27:47 +08:00
Zhuoxun Yang
8a67224917
expr: add assert for &
2023-10-17 22:27:10 +08:00
Daniel Hofstetter
ce0cf7a569
Merge pull request #5367 from sylvestre/join
...
join: remove a clippy::cognitive_complexity by moving some content in functions
2023-10-16 11:41:47 +02:00
Sylvestre Ledru
f8436728dc
add field_reassign_with_default ignore
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-16 10:47:38 +02:00
Daniel Hofstetter
541ac6a813
Merge pull request #5403 from sylvestre/rm
...
rm: In some cases, remove_dir is doing a better job than remove_dir_all
2023-10-16 09:35:44 +02:00
Sylvestre Ledru
3a780453a9
join: remove a clippy::cognitive_complexity by moving some content into functions
2023-10-16 08:15:02 +02:00
Sylvestre Ledru
73b7c46131
Merge pull request #5409 from sylvestre/version-22
...
0.0.21 => 0.0.22
2023-10-15 15:50:01 +02:00
Sylvestre Ledru
e1bd47d549
0.0.21 => 0.0.22
2023-10-15 14:33:23 +02:00
Daniel Hofstetter
6ef5b272da
expr: add missing word to comment
2023-10-15 14:30:17 +02:00
Zhuoxun Yang
4f20773b4f
expr: fix escape
2023-10-14 23:20:45 +08:00
Sylvestre Ledru
226680aa00
Ignore inacc spell
2023-10-14 13:45:29 +02:00
Sylvestre Ledru
505ef714b9
rm: In some cases, remove_dir is doing a better job than remove_dir_all
...
use it when remove_dir_all failed
GNU compatibility (rm/empty-inacc.sh)
2023-10-14 12:09:27 +02:00
Zhuoxun Yang
ae1c4ccfd2
expr: short-circuit evaluation for &
2023-10-14 01:56:38 +08:00
Sylvestre Ledru
3cd5f9d175
Merge pull request #5401 from cakebaker/clippy_suppress_cognitive_complexity_warning
...
clippy: suppress cognitive_complexity lint in some tests
2023-10-13 15:41:35 +02:00
Daniel Hofstetter
a69d48fb8c
clippy: suppress cognitive_complexity lint
2023-10-13 14:53:32 +02:00
Daniel Hofstetter
617de9b636
Merge pull request #5397 from sylvestre/ls-42
...
ls: Document a bit tests/ls/stat-dtype.sh
2023-10-13 14:38:31 +02:00
Sylvestre Ledru
8931cfa93d
improve the wordin
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-10-13 11:18:00 +02:00
Sylvestre Ledru
8826e47d36
ignore dtype in the spell
2023-10-13 10:30:31 +02:00
Daniel Hofstetter
f1f4823feb
who: suppress cognitive_complexity lint
2023-10-13 08:26:06 +02:00
Sylvestre Ledru
94972d45c7
ls: Document a bit tests/ls/stat-dtype.sh
2023-10-12 23:37:07 +02:00
tommady
c9fa07035b
fix linter errors
2023-10-12 02:52:02 +00:00
tommady
9be5583d36
Update src/uu/cp/src/cp.rs
...
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-10-12 10:42:52 +08:00
tommady
7ea19c7c5d
Update src/uu/cp/src/cp.rs
...
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-10-12 10:42:44 +08:00
zhitkoff
a920464952
split: undocumented options aliases + help fix
2023-10-11 12:13:22 -04:00