Daniel Hofstetter
eb2123ee15
nl: add "after help"
2023-07-11 14:26:54 +02:00
John Shin
e5331e3abb
Merge branch 'main' into ls-version-cmp
2023-07-09 14:36:46 -07:00
Daniel Hofstetter
f67ef7fb11
nl: change value name to match help text
2023-07-09 16:08:38 +02:00
Daniel Hofstetter
f8a955266e
Merge pull request #4750 from NikolaiSch/seq-panic-fix
...
fix: seq panic on no arguments #4749
2023-07-09 14:19:07 +02:00
Daniel Hofstetter
0b37b63ea3
Merge pull request #5055 from yt2b/ls_literal_option
...
ls: --l should output the same as --literal
2023-07-09 14:07:24 +02:00
Sylvestre Ledru
10bca71b09
Merge branch 'main' into ls-version-cmp
2023-07-09 09:24:39 +02:00
Sylvestre Ledru
78fd0efab9
Merge pull request #5013 from shinhs0506/core-version-cmp
...
uucore: leading zeros are ignored in version compare
2023-07-09 09:21:18 +02:00
Daniel Hofstetter
6f91371e61
touch: accept "modify" & "mtime" for --time arg
2023-07-08 16:13:35 +02:00
Terts Diepraam
24c2743e10
Merge pull request #5053 from dezgeg/stty-baudrate
...
stty: Support setting baud rate
2023-07-08 13:27:56 +02:00
Tuomas Tynkkynen
bde9030e4e
stty: Support setting baud rate
...
Part of #3859 .
2023-07-08 11:46:16 +03:00
yt2b
cf6f7856e4
ls: fix --l option
2023-07-08 10:43:20 +09:00
Tuomas Tynkkynen
85b9b61dd8
stty: Finish '--save' support
...
Argument parsing for this exists, but the option doesn't change output
in any way. Finish the support.
Closes #3862
2023-07-08 02:24:26 +03:00
Daniel Hofstetter
ac4ff2ac0e
seq: simplify error handling
...
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-07-06 10:26:29 +02:00
John Shin
844cbdc5a4
sort: add tests for stable and unstable sort
2023-07-05 10:05:52 +02:00
John Shin
e9405250f4
uucore: leading zeros are ignored in version compare
2023-07-05 10:05:52 +02:00
Daniel Hofstetter
4a192e98d5
Merge pull request #5032 from sylvestre/split-fail
...
split: reject some invalid values
2023-07-05 07:04:22 +02:00
John Shin
4acd02c7a1
ls: string compare if version_cmp returns equal
2023-07-04 16:08:54 -07:00
Sylvestre Ledru
9d44d8b71d
Merge pull request #4977 from cakebaker/date_shortcut_value_parser
...
date: use custom value parser
2023-07-04 19:56:46 +02:00
Sylvestre Ledru
264d29a169
fix the clippy warning
2023-07-04 18:45:11 +02:00
Terts Diepraam
c455aa0922
Merge pull request #5036 from cakebaker/nl_fix_no_renumber
...
nl: make -p/--no-renumber a flag
2023-07-04 14:16:04 +02:00
Daniel Hofstetter
fee5225cb6
nl: make --no-renumber a flag
2023-07-04 10:37:10 +02:00
Daniel Hofstetter
18e5c5b5f7
numfmt: remove duplicate info from help output
2023-07-04 07:02:18 +02:00
Sylvestre Ledru
d033db3573
split: reject some invalid values
...
Matches what is done in tests/split/fail.sh
(still doesn't work)
2023-07-03 22:57:37 +02:00
Sylvestre Ledru
37cbfd1efd
Merge pull request #5030 from cakebaker/touch_use_parse_datetime
...
touch: use parse_datetime instead of humantime_to_duration
2023-07-03 16:26:51 +02:00
Daniel Hofstetter
11b098fce1
Merge pull request #5028 from sylvestre/cp-multiple
...
cp: allow multiple usages of -R - Closes : #5027
2023-07-03 16:09:45 +02:00
Sylvestre Ledru
e491bbdbed
cp: allow multiple usages of -R/-r Closes : #5027
...
works for all other rm args
2023-07-03 14:19:45 +02:00
Roy Ivy III
af64bde92b
fix/touch ~ time crate usage errors
2023-07-03 14:15:15 +02:00
Sylvestre Ledru
7a7842b5b8
Merge pull request #4756 from Joining7943/tail-refactor-and-fix-input
...
`tail`: Refactor `paths::Input::from` and `Settings::inputs`
2023-07-03 14:09:57 +02:00
Roy Ivy III
9aef5ac35b
deps ~ change from 'humantime_to_duration' to 'parse_datetime'
2023-07-03 13:53:52 +02:00
Terts Diepraam
5a667db43d
tail: clean up some small things in input parsing
2023-07-03 13:20:48 +02:00
sbentmar
42bf580f13
numfmt: add --invalid option ( #4249 )
...
* numfmt: add invalid option
* numfmt: return code 0 if ignore or warn
* numfmt: implement all --invalid modes
* numfmt: validate stdout and stderr
* numfmt: remove unnecessary code
* numfmt: apply formatting
* numfmt: fix clippy issues
* numfmt: fix failing test cases
* numfmt: fix formatting
* numfmt: fix bug when handling broken pipe
* numfmt: fix bug where extra newline was added
* numfmt: add test cases for edge cases
* numfmt: simplify error handling
* numfmt: remove redundant if
* numfmt: add newline between functions
* numfmt: fix failing test cases
* numfmt: add support for arg numbers using --invalid
* numfmt: simplify error handling in value handlers
* numfmt: fix merge conflict and align prints
* numfmt: fix clippy suggestion
* numfmt: replace "valid" with "invalid" in tests
* numfmt: move INVALID to respect alph. order
* numfmt: move printlns outside of match to avoid duplication
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
* numfmt: remove empty line
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-07-01 17:08:12 +02:00
Daniel Hofstetter
a145798594
Merge pull request #4960 from granquet/ls_LZ
...
ls: force fetching metadata when called with -L -Z
2023-07-01 15:24:37 +02:00
Daniel Hofstetter
c524ec4a9f
Merge pull request #4950 from Ideflop/more_implement_arguments_plain_and_from_line
...
More implement arguments plain and from line
2023-07-01 14:18:54 +02:00
crapStone
863f91eca9
fix typos
...
some arguments had the wrong case
2023-06-29 15:34:19 +00: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
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
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
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
John Shin
d2e7ba2da1
sort: add tests for stable and unstable sort
2023-06-27 12:15:58 -07:00
John Shin
0ff00ec44c
uucore: leading zeros are ignored in version compare
2023-06-26 16:28:31 -07: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
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