Commit graph

6105 commits

Author SHA1 Message Date
Sylvestre Ledru
9ed7ac1481
Merge pull request #4826 from cakebaker/mv_4795
mv: if more than one of -i, -f, -n is specified, only the final one takes effect
2023-05-06 17:35:02 +02:00
m11o
1ac31ccfa0 tty: move help strings to markdown file 2023-05-07 00:27:16 +09:00
Sylvestre Ledru
d441d71aac
Merge pull request #4829 from m11o/tsort-move-strings-to-md-file
tsort: move help strings to markdown file
2023-05-06 14:55:49 +02:00
Sylvestre Ledru
cd688662ec fix some lines_filter_map_ok clippy warnings 2023-05-06 14:53:42 +02:00
Sylvestre Ledru
f8d7bebed3 ignore some cognitive_complexity for now 2023-05-06 14:50:55 +02:00
Daniel Hofstetter
40aaae003e
mv: improve help text
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-05-06 13:25:35 +02:00
Sylvestre Ledru
8f4367c3bc
to make it clearer 2023-05-06 10:32:18 +02:00
m11o
94daed8afb tsort: move help strings to markdown file 2023-05-06 00:34:55 +09:00
Daniel Hofstetter
4481604f87 cp: fix "after help" output 2023-05-05 16:12:34 +02:00
Daniel Hofstetter
ea2b725abb mv: fix help output 2023-05-05 15:17:37 +02:00
Daniel Hofstetter
93c8623da9 mv: if more than one of -i, -n, -f, latest "wins" 2023-05-05 15:17:37 +02:00
Daniel Hofstetter
4ee1118061
Merge pull request #4823 from shinhs0506/mv-i-dir-file
fix tests/mv/i-5.sh
2023-05-04 13:43:05 +02:00
Daniel Hofstetter
616a166e36
Merge pull request #4820 from sylvestre/thru-dangling-2
cp: fix cp -f f loop when loop is a symlink loop
2023-05-04 08:20:57 +02:00
m11o
a822890939 fix help message in chgrp 2023-05-04 08:41:56 +09:00
John Shin
1c8aac0883 mv: return err if response is negative when moving a dir to existing dest during an interactive mode 2023-05-03 16:05:21 -07:00
Sylvestre Ledru
832fd2d2c6 cp: fix cp -f f loop when loop is a symlink loop
Fix: tests/cp/thru-dangling.sh
2023-05-03 19:54:35 +02:00
Sylvestre Ledru
6547bec2ef uucore/detect_symlink_loop: add a function to detect symlink loops 2023-05-03 19:54:33 +02:00
Thomas Hurst
01a8623d21 dd: Add documentation to Alarm struct 2023-05-03 16:31:14 +00:00
Thomas Hurst
546631c8e7 dd: Tidy includes 2023-05-03 16:30:53 +00:00
Daniel Hofstetter
a97199f72a
Merge pull request #4796 from shinhs0506/mv-cp-update
mv, cp: add support for --update=none,all,older
2023-05-03 15:21:21 +02:00
Daniel Hofstetter
82eb04c5a9
Merge pull request #4777 from Joining7943/tail-change-text-static-to-const
'tail': Change static global variables to const
2023-05-03 09:31:34 +02:00
Sylvestre Ledru
aae3f2f99c Ride along: fix some trivial clippy warnings 2023-05-02 23:22:39 +02:00
John Shin
898628fa3a core: fix typo in update control 2023-05-02 13:54:31 -07:00
John Shin
3b8f3d04f4 core: remove unnecessary if statement in update control 2023-05-02 12:49:49 -07:00
Masahito Osako
90e0d3030f
test: move help strings to markdown file (#4816) 2023-05-02 21:48:59 +02:00
John Shin
460d346069 core: remove '' case for the update argument 2023-05-02 12:42:39 -07:00
John Shin
06d4603bea core: fix typo in update control 2023-05-02 12:40:04 -07:00
John Shin
36e93e12d6 core: add header notice for update control 2023-05-02 12:38:12 -07:00
Daniel Hofstetter
3f8e21c36c
Merge pull request #4812 from sylvestre/thru-dangling
cp: add support POSIXLY_CORRECT=1 when dealing with dangling links
2023-05-02 10:00:18 +02:00
John Shin
60c0b661c3 core: fix typo in update control 2023-05-01 17:22:08 -07:00
Daniel Hofstetter
6d89e9bfd7 cksum: remove "-a="s from markdown file 2023-05-01 15:57:56 +02:00
John Shin
6625cfe88a mv: fix documentation 2023-05-01 03:54:04 -07:00
John Shin
92e1b3f7c0 cp: fix documentation 2023-05-01 03:53:52 -07:00
John Shin
c5327cf0a0 core: add docs for update control 2023-05-01 03:48:37 -07:00
Sylvestre Ledru
2d4dfc3d7d cp: add support POSIXLY_CORRECT=1 when dealing with dangling links
GNU: tests/cp/thru-dangling.sh
2023-05-01 11:05:00 +02:00
John Shin
b707b690c5 cp: remove long help 2023-04-30 20:16:01 -07:00
John Shin
85ded232bc mv: resolve merge conflict 2023-04-30 20:09:32 -07:00
John Shin
f83468d530 mv: move after help to md file 2023-04-30 20:03:22 -07:00
John Shin
2f975e913e cp: move after help to md file 2023-04-30 20:02:53 -07:00
John Shin
ed3ff10540 cp: write tests for --update 2023-04-30 19:29:49 -07:00
John Shin
2f8df653c5 core mv cp: update help doc for 'update' functionality 2023-04-30 18:53:11 -07:00
iambasanta
70b69efadb
sort: Move help strings to markdown file (#4808)
* sort: Move help strings to markdown file

* Correction for spell check
2023-04-30 19:50:28 +02:00
Daniel Hofstetter
599e7a0645
Merge pull request #4805 from iambasanta/tr-move-help-strings-to-md-file
tr: move help string to markdown file
2023-04-30 14:26:22 +02:00
Masahito Osako
e46b05722f
timeout: move help strings to markdown file (#4806)
* timeout: move help strings to markdown file
2023-04-30 08:51:14 +02:00
iambasanta
22490ae978 tr: move help string to markdown file 2023-04-30 10:32:58 +05:45
Daniel Hofstetter
7cfdbe676c mv: validate --target arg 2023-04-29 16:16:00 +02:00
Sylvestre Ledru
c5fb6eac9f
Merge pull request #4794 from shinhs0506/mv-target-dir
mv: check if --target is a directory
2023-04-29 10:40:44 +02:00
m11o
bc7a01dd3b sync: move help strings to markdown file 2023-04-29 15:51:55 +09:00
Sylvestre Ledru
9f9847188d
Merge pull request #3661 from cakebaker/unescaped_backslash
paste: handle list ending with unescaped backslash
2023-04-28 16:53:26 +02:00
Daniel Hofstetter
c254900db9 paste: handle list ending with unescaped backslash 2023-04-28 14:33:53 +02:00
m11o
3ca1fa8dfd sum: move help strings to markdown file 2023-04-28 20:21:44 +09:00
Sylvestre Ledru
b33986de86
Merge pull request #4366 from BartMassey-upstream/name-weirdness
coreutils: fixed panic when multi-call binary has funny name
2023-04-28 09:27:05 +02:00
m11o
0391239273 fix cargo fmt 2023-04-27 22:17:37 +09:00
m11o
c49769865a stty: move help strings to markdown file 2023-04-27 22:14:52 +09:00
John Shin
9dc84e9061 cp: implement update=[switch] 2023-04-27 04:49:27 -07:00
John Shin
0e8dd894a3 mv: implement update=[switch] 2023-04-27 04:48:41 -07:00
John Shin
ecde4b6aa3 core: introduce update controller for mv and cp 2023-04-27 04:47:59 -07:00
Sylvestre Ledru
eb8f353a2f
date usage help: Remove the examples in the description table
we have a new column with examples
2023-04-27 09:17:39 +02:00
Masahito Osako
746331cc65
stdbuf: move help strings to markdown file (#4792) 2023-04-27 08:13:46 +02:00
Daniel Hofstetter
dffd2f082e
Merge pull request #4789 from sylvestre/doc
Improve the date md page
2023-04-27 07:19:45 +02:00
Sylvestre Ledru
474d391eb1
Merge pull request #4790 from sylvestre/date_use_humantime_to_duration
date -d supports - 1 year ago, 2 second, etc
2023-04-26 23:54:49 +02:00
Sylvestre Ledru
360cbda0c5
Merge pull request #4782 from cakebaker/mv_no_clobber_behavior_change
mv: adapt -n behavior to GNU mv 9.3
2023-04-26 22:47:12 +02:00
Sylvestre Ledru
111723aa84 rename date-usage.mkd => date-usage.md 2023-04-26 22:43:48 +02:00
Sylvestre Ledru
825d240ef0 date -d supports - 1 year ago, 2 second, etc 2023-04-26 22:14:15 +02:00
John Shin
aeeb3c90cf mv: check if --target is a directory 2023-04-26 11:15:41 -07:00
Sylvestre Ledru
0f268428fe
Merge pull request #4379 from ZauJulio/hotfix-mktemp
mktemp: fix PrefixContainsDirSeparator verification
2023-04-26 18:28:56 +02:00
Sylvestre Ledru
583a247d9d Improve the date md page 2023-04-26 08:48:13 +02:00
Sylvestre Ledru
4997851d5b
Merge pull request #4787 from shinhs0506/mv-verbose
mv: add 'renamed " in the beginning of the message when verbose flag is set
2023-04-26 08:34:42 +02:00
John Shin
d4630c83b4 mv: add 'renamed ' in the beginning when verbose flag is set 2023-04-25 21:27:52 -07:00
m11o
0b84aa52f3 fix check-spell 2023-04-25 22:26:47 +09:00
m11o
869614d343 fix cargo fmt 2023-04-25 22:01:10 +09:00
m11o
98dd31c00d split: move help strings to markdown file 2023-04-25 22:00:22 +09:00
Daniel Hofstetter
804274dbf4 mv: adapt -n behavior to GNU mv 9.3 2023-04-25 11:33:48 +02:00
Sylvestre Ledru
6115af6386
Merge pull request #4769 from sylvestre/touch
touch: improve support for dangling link
2023-04-25 08:26:23 +02:00
Sylvestre Ledru
d3fc670f65
Merge pull request #4781 from sunfishcode/sunfishcode/fix-warning
Fix a warning in upstream code on Rust nightly.
2023-04-25 07:57:02 +02:00
Daniel Hofstetter
714206dd25
Merge pull request #4778 from sylvestre/use_humantime_to_duration
Use the humantime_to_duration crate
2023-04-25 07:05:03 +02:00
Dan Gohman
f187a5ccff Fix a warning in upstream code on Rust nightly.
Rust nightly recently [started] issuing the following warning when
compiling coreutils:

[started]: https://github.com/rust-lang/rust/pull/109944

```
warning: getting the inner pointer of a temporary `CString`
   --> src/uucore/src/lib/features/entries.rs:324:67
    |
324 |                         let data = $fnam(CString::new(k).unwrap().as_ptr());
    |                                          ------------------------ ^^^^^^ this pointer will be invalid
    |                                          |
    |                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
...
340 | f!(getpwnam, getpwuid, uid_t, Passwd);
    | ------------------------------------- in this macro invocation
    |
    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
    = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info)
```

There doesn't seem to be an actual problem in this case, as the pointer is
only used within the statement.
2023-04-24 14:31:05 -07:00
Sylvestre Ledru
d1aa1ac963 Use the humantime_to_duration crate 2023-04-24 22:23:07 +02:00
m11o
dd89ec709b remove todo comment
`-f` option is implemented in #2918
2023-04-24 23:44:28 +09:00
m11o
1cb0a673a0 change static keyword to const keyword 2023-04-24 23:38:45 +09:00
m11o
fd02bd13a1 seq: move help strings to md file 2023-04-24 23:35:52 +09:00
Sylvestre Ledru
c262fa936c Improve the doc and simplify the code
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-04-24 12:03:21 +02:00
Sylvestre Ledru
84e0610487 touch: don't generate an error on 'touch -h -' 2023-04-24 12:03:21 +02:00
Sylvestre Ledru
aaea758b6a touch: -h should not fail when running on broken symlink
Fixes more of tests/touch/no-dereference.sh
2023-04-24 12:03:21 +02:00
Sylvestre Ledru
c3656e561c touch: -h -r should not fail when running on broken symlink
Fixes the beginning of:
tests/touch/no-dereference.sh
2023-04-24 12:03:21 +02:00
Sylvestre Ledru
417d238bba
Merge pull request #4773 from cakebaker/mv_fix_issue_4724
mv: show no error if overwriting is declined in interactive mode
2023-04-24 08:58:21 +02:00
Daniel Hofstetter
f9b60c4232
Merge pull request #4776 from vikiminki/factor_flush
Add flush after calculating factor
2023-04-24 08:09:17 +02:00
Masahito Osako
d18ccc6a2a
runcon: move help strings to markdown file (#4774) 2023-04-24 08:01:28 +02:00
Joining7943
d1454628e1 tail: Change static global variables to const 2023-04-23 23:11:20 +02:00
vix
f9b7423eef Add flush after calculating factor 2023-04-23 20:35:13 +02:00
Daniel Hofstetter
e94f1d8eb7 mv: -i show no error if overwriting is declined 2023-04-23 15:27:24 +02:00
m11o
31c1d9c956 fix format 2023-04-22 16:33:58 +09:00
m11o
b84a94b889 refactor: use override_help instead of override_usage 2023-04-22 16:11:36 +09:00
m11o
e82ba6e707 readlink: move help strings to markdown file 2023-04-22 16:10:26 +09:00
Joining7943
ae60045f3f tail: Fix printed header for stdin should be the same on all platforms 2023-04-21 21:55:28 +02:00
Sylvestre Ledru
48f9786164
Merge pull request #4761 from cakebaker/uudoc_fix_clippy_warnings
uudoc: fix clippy warnings
2023-04-21 15:52:19 +02:00
Daniel Hofstetter
3272d14fab uudoc: fix clippy warnings 2023-04-21 10:14:44 +02:00
Daniel Hofstetter
98fb8fa144 test,wc: use vars directly in format! strings 2023-04-21 08:33:56 +02:00
Joining7943
08e8b40e45 tail: Refactor paths::Input::from method, Settings::inputs now use Vec instead of VecDeque 2023-04-20 21:08:12 +02:00
renovate[bot]
790958e4f3
fix(deps): update rust crate libc to 0.2.142 2023-04-20 17:09:10 +00:00
Terts Diepraam
19add3a4bd
Merge pull request #4398 from cakebaker/uudoc_simplify_about_text_generation
uudoc, uucore_procs: move markdown parsing to HelpParser
2023-04-20 11:29:16 +02:00
Terts Diepraam
d68fd68b5f
Merge pull request #4734 from Joining7943/tail-fix-args-parsing-follow-mode
tail/args: Fix parsing when -F is used together with --retry or --follow
2023-04-20 09:43:24 +02:00
renovate[bot]
54178d491c
fix(deps): update rust crate dunce to 1.0.4 2023-04-19 16:14:17 +00:00
Joining7943
20e32971dd tail/args: Fix parsing when -F is used together with --retry or --follow 2023-04-18 21:47:20 +02:00
Sylvestre Ledru
25fbcd89a5 fmt:uumain: split/doc copy into smaller functions 2023-04-17 22:33:36 +02:00
Sylvestre Ledru
2c1aa229a0 install: split/doc copy into smaller functions 2023-04-17 22:33:33 +02:00
Sylvestre Ledru
fb72738db4 stat: split/doc print_it into smaller functions 2023-04-17 22:33:33 +02:00
Sylvestre Ledru
59c0f51208 hashsum: split/doc detect_algo into smaller functions 2023-04-17 22:33:30 +02:00
Daniel Hofstetter
658323184d uudoc,uucore_procs: move md parsing to help_parser 2023-04-16 14:32:48 +02:00
publicmatt
084510e499
Copy the UTF8 crate in the tree and remove utf8 dependency. (#4460) 2023-04-14 21:31:11 +02:00
Ideflop
6a54d820ac
factor: add -h/--exponents option (#4710)
* factor: add -h/--exponents option

* Factor: Rebase, add -h/--exponents options
2023-04-14 21:20:19 +02:00
Sylvestre Ledru
a04fc0508e
Merge pull request #4705 from m11o/printf-move-strings-to-md-files
printf: move help strings to markdown file
2023-04-14 18:53:59 +02:00
Sylvestre Ledru
fcc1ebf078 be more consistent in the help. use follow for deference options 2023-04-13 19:30:33 +02:00
Sylvestre Ledru
00a866e128 du: move to use an enum 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
e82e6a3e4c du: remove cognitive_complexity clippy allow 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
b2fd72878e du: reduce the complexity by moving get_convert_size_fn option mgmt into a function 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
f475a36204 du: reduce the complexity by moving the time option mgmt into a function 2023-04-13 13:38:27 +02:00
Sylvestre Ledru
f08b8dab23 du: directly get a vec of pathbuf to avoid several type changes 2023-04-13 13:38:24 +02:00
Sylvestre Ledru
eea8d40e78 du: add support of --dereference-args
Should fix tests/du/deref.sh
2023-04-13 13:27:04 +02:00
Sylvestre Ledru
5a1d9cec7e du: an error code when done on a non existing file 2023-04-13 13:27:04 +02:00
Daniel Hofstetter
dd3c0f7fe9
Merge pull request #4729 from spineki/b2sum-missing-l-option
B2sum: add -l/--length option
2023-04-13 09:57:55 +02:00
Marras Antoine
fdbebfad9d b2sum: moved 0 case into None arm 2023-04-12 09:49:20 +02:00
Sylvestre Ledru
c8d2a9ad0e ls: document the new functions 2023-04-11 23:13:04 +02:00
Sylvestre Ledru
ee0fc86ce8 ls: remove cognitive_complexity clippy allow 2023-04-11 23:03:41 +02:00
Sylvestre Ledru
33d4ab82ba ls: extract most of the content into functions 2023-04-11 23:02:48 +02:00
Marras Antoine
c4d637125c b2sum: changed british spelling for american spelling 2023-04-11 09:28:41 +02:00
Marras Antoine
a9e65e881c b2sum: handled 0 length case and greater than 512 case 2023-04-10 21:20:54 +02:00
Marras Antoine
ae1113d7dc b2sum: add support to -l option 2023-04-10 18:31:18 +02:00
Daniel Hofstetter
4355fb7f78 Remove some unnecessary "extern crate" statements 2023-04-09 16:12:45 +02:00
Sylvestre Ledru
2f6c505ff2
Merge pull request #4718 from cakebaker/touch_remove_extern_crates
touch: remove unnecessary "extern crate"s
2023-04-09 15:09:36 +02:00
Daniel Hofstetter
dfea103bc4 uucore: remove commented out imports 2023-04-09 14:53:15 +02:00
Daniel Hofstetter
81b1bc1fa7 touch: remove unnecessary "extern crate"s 2023-04-08 16:34:29 +02:00
xalfer
9badfcd7d2 touch: fix clippy lints 2023-04-08 12:23:24 +02:00
xalfer
19e456fe2a touch: add support for --ref and --date together
This commit resolves issue #4608.

To make it relatively straightforward to implement I have taken some
code from parse_date and put it inside a function parse_relative_time.

This commit changes and adds some test as well to work with the new
functionality.
2023-04-07 21:36:26 +02:00
m11o
b1f15ef720 Merge branch 'printf-move-strings-to-md-files' of https://github.com/m11o/coreutils-rs into printf-move-strings-to-md-files 2023-04-06 00:50:49 +09:00
m11o
1c5f068886 use ` for keyword 2023-04-06 00:50:02 +09:00
Masahito Osako
c988e712a1
Merge branch 'main' into printf-move-strings-to-md-files 2023-04-06 00:44:47 +09:00
m11o
45ce14c85b fix review to use code block 2023-04-06 00:44:26 +09:00
Masahito Osako
5633eb9cd7
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:25:28 +09:00
Masahito Osako
cbc0ff6771
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:24:19 +09:00
Masahito Osako
11f3976e35
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:24:06 +09:00
Masahito Osako
109aa925c4
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:23:27 +09:00
Masahito Osako
a838c31978
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:22:26 +09:00
Masahito Osako
ade823c163
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:22:08 +09:00
Masahito Osako
097002bdaf
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:21:57 +09:00
Masahito Osako
f688a7ec8d
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:21:44 +09:00
Masahito Osako
13bb755e60
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:21:33 +09:00
Masahito Osako
46f11737e1
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:20:46 +09:00
Masahito Osako
75bb166168
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:20:37 +09:00
Masahito Osako
b8a3f14fb3
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-06 00:19:57 +09:00
Terts Diepraam
f82f92ec9f
Merge pull request #4672 from sylvestre/dircolors
dircolors: trigger an error when used on /
2023-04-05 00:01:19 +02:00
Masahito Osako
43c1b27332
Merge branch 'main' into printf-move-strings-to-md-files 2023-04-05 01:38:03 +09:00
m11o
76e15d049b Fix markdown 2023-04-05 01:36:30 +09:00
m11o
2c1a3042bc Merge branch 'printf-move-strings-to-md-files' of https://github.com/m11o/coreutils-rs into printf-move-strings-to-md-files 2023-04-04 22:32:50 +09:00
Masahito Osako
feef6f4e24
Update src/uu/printf/printf.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-04 22:32:07 +09:00
m11o
23f7434530 Ignore spells for spell-checker 2023-04-04 22:09:06 +09:00
m11o
e5d88082c4 Fix style violation in src/uu/printf/src/printf.rs 2023-04-04 21:50:30 +09:00
renovate[bot]
120a5f6d76
fix(deps): update rust crate libc to 0.2.141 2023-04-04 10:22:35 +00:00
Daniel Hofstetter
7949778d1b
Merge pull request #4704 from piotrkwiecinski/unexpand-move-string-to-md-file
unexpand: move help strings to markdown file
2023-04-04 07:48:54 +02:00
m11o
57a70eb200 fix to align indents 2023-04-04 00:51:24 +09:00
m11o
f5f96d9bce printf: move help strings to markdown file 2023-04-04 00:44:41 +09:00
Piotr Kwiecinski
f920d44e62 unexpand: move help strings to markdown file 2023-04-03 17:06:58 +02:00
Piotr Kwiecinski
1c9b49025b true: move help strings to markdown file 2023-04-03 16:54:37 +02:00
Masahito Osako
cae3e6d13f
Update src/uu/pinky/src/pinky.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-04-03 14:57:01 +09:00
Masahito Osako
3887bc7af4
Merge branch 'main' into pinky-move-strings-to-md-files 2023-04-03 08:03:51 +09:00
Masahito Osako
0877677697
Update src/uu/pinky/pinky.md
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-04-03 07:26:34 +09:00
Sylvestre Ledru
eb11c4006f tee: add missing feature 2023-04-02 21:01:05 +02:00
Sylvestre Ledru
0a6f1758b9 add missing feature 2023-04-02 20:59:02 +02:00
m11o
0161775af3 pinky: move help strings to markdown file 2023-04-03 00:37:14 +09:00
Sylvestre Ledru
3247e1b5e1
Merge pull request #4639 from sylvestre/version
0.0.17 => 0.0.18
2023-04-02 11:31:24 +02:00
Daniel Hofstetter
0fa08757fa wc: implement --total 2023-03-31 08:16:46 +02:00
Daniel Hofstetter
5d0f0144c1
Merge pull request #4691 from uutils/renovate/windows-sys-0.x
fix(deps): update rust crate windows-sys to 0.45.0
2023-03-31 08:09:33 +02:00
Daniel Hofstetter
4a82d4808f
Merge pull request #4689 from uutils/renovate/data-encoding-2.x
fix(deps): update rust crate data-encoding to 2.3
2023-03-30 16:06:49 +02:00
Sylvestre Ledru
09a73be072
Merge pull request #4678 from piotrkwiecinski/pr-move-string-to-md-file
pr: move help strings to markdown file
2023-03-30 15:47:58 +02:00
renovate[bot]
ce6bacd87a
fix(deps): update rust crate windows-sys to 0.45.0 2023-03-30 13:44:57 +00:00
Piotr Kwiecinski
f6485e07cb pr: use paragraphs wider in markdown file 2023-03-30 10:59:43 +02:00
renovate[bot]
2945d6b6b9
fix(deps): update rust crate wild to 2.1 2023-03-30 06:11:01 +00:00
renovate[bot]
4a89f4ab96
fix(deps): update rust crate data-encoding to 2.3 2023-03-30 05:59:08 +00:00
Miles Liu
59c210d0f9
uniq: move help strings to markdown file 2023-03-30 09:01:02 +08:00
Sylvestre Ledru
889df29cba dircolors : replace filter_map by map_while 2023-03-29 21:15:24 +02:00
Miles Liu
012c5eaa1f
unlink: move help strings to markdown file 2023-03-29 19:40:10 +08:00
Piotr Kwiecinski
d8ee1833a4 pr: move help strings to markdown file 2023-03-29 10:59:24 +02:00
Sylvestre Ledru
af0a263191 0.0.17 => 0.0.18 2023-03-29 08:11:25 +02:00
Sylvestre Ledru
9d075c65c4
Merge pull request #4653 from uutils/renovate/libc-0.x
fix(deps): update rust crate libc to 0.2.140
2023-03-29 07:53:21 +02:00
Surya Teja K
b14d19770f
date: show error when reading dirs for -f arg (#4572)
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2023-03-29 07:49:14 +02:00
0xMRTT
e7ef9dcd46
hashsum: add --zero option (#4612) (#4632)
* `hashsum`: add `--zero`  option (#4612)
2023-03-28 23:26:11 +02:00
Sylvestre Ledru
d29f9f2e30 dircolors: trigger an error when used on / 2023-03-28 22:54:16 +02:00
Daniel Hofstetter
0562c508ed
Merge pull request #4640 from uutils/renovate/glob-0.x
fix(deps): update rust crate glob to 0.3.1
2023-03-28 14:48:09 +02:00
Sylvestre Ledru
59b03d2c9e
Merge pull request #4647 from kamilogorek/if-not-else-lint
lint: Enable clippy::if_not_else and fix all lint issues
2023-03-28 13:25:31 +02:00
renovate[bot]
915c183ff8
fix(deps): update rust crate libc to 0.2.140 2023-03-28 06:02:04 +00:00
Sylvestre Ledru
ab859b8b58
Merge pull request #4652 from uutils/renovate/itertools-0.x
fix(deps): update rust crate itertools to 0.10.5
2023-03-28 07:58:06 +02:00
Sylvestre Ledru
383c6b3caf
Merge pull request #4650 from piotrkwiecinski/paste-move-string-to-md-file
paste: move help strings to markdown file
2023-03-27 21:25:41 +02:00
renovate[bot]
f223629382
fix(deps): update rust crate itertools to 0.10.5 2023-03-27 19:24:30 +00:00
Sylvestre Ledru
ce5effb7ee
Merge pull request #4636 from uutils/renovate/dns-lookup-1.x
fix(deps): update rust crate dns-lookup to 1.0.8
2023-03-27 21:22:28 +02:00
Sylvestre Ledru
97f8e9d818
Merge pull request #4560 from miles170/fix-show-utils
util/show-utils: fix script not working as intended
2023-03-27 20:26:12 +02:00
Sylvestre Ledru
1926a24579
Merge pull request #4651 from piotrkwiecinski/pathchk-move-string-to-md-file
pathchk: move help strings to markdown file
2023-03-27 20:16:21 +02:00
Daniel Hofstetter
089e645e3b
Merge pull request #4637 from haciek/du_threshold_err_fix
du: threshold error message fix
2023-03-27 16:32:30 +02:00
Piotr Kwiecinski
d81ce37a4d paste: move backtick 2023-03-27 11:41:08 +02:00
Piotr Kwiecinski
b5bf6edafb pathchk: move help strings to markdown file 2023-03-27 11:23:00 +02:00
Piotr Kwiecinski
07c0d9cad9 paste: move help strings to markdown file 2023-03-27 11:09:19 +02:00
renovate[bot]
bf228385e8
fix(deps): update rust crate glob to 0.3.1 2023-03-27 05:36:00 +00:00
renovate[bot]
515bd8f642
fix(deps): update rust crate dns-lookup to 1.0.8 2023-03-27 05:32:38 +00:00
Kamil Ogórek
68e90eacbb lint: Fix all issues in preparation for enabling clippy::if_not_else 2023-03-26 22:23:50 +02:00
Sylvestre Ledru
4695c2a204
Fix typo 2023-03-26 21:51:04 +02:00
Maciej Habasiński
d277603bf1 du: fmt fix 2023-03-26 23:38:31 +02:00
Sylvestre Ledru
8a3007efff
Merge pull request #4638 from tertsdiepraam/stdbuf-hotfix
`stdbuf`: get profile from the end of the path
2023-03-26 18:57:57 +02:00
Terts Diepraam
9991ab28d7
Merge pull request #4588 from anastygnome/fork
Refactor signal handling in yes, tee, and timeout
2023-03-26 17:16:50 +02:00
Sylvestre Ledru
ef601fac98
Merge pull request #4630 from sylvestre/inter-error
Adjust -i behavior for ln, cp & mv
2023-03-26 15:35:24 +02:00
Maciej Habasiński
ef9b974c41
du: comment alignment fix 2023-03-26 13:15:48 +02:00
Maciej Habasiński
e5a4c393af du: threshold fix comment 2023-03-26 15:08:02 +02:00
Daniel Hofstetter
aa4101fe2f
ln: use "replace" in interactive mode
GNU ln uses "replace" instead of "overwrite"
2023-03-26 12:18:26 +02:00
Tom D
e4408f3759 Refactor signal handling in yes, tee, and timeout
Yes, using libc while using nix was a bit redundant.
Upon investigation, duplicated code was found and moved to uucore.
2023-03-26 11:10:40 +02:00
Sylvestre Ledru
76793d523d
Merge pull request #4558 from leon3s/fix-test-with-parse-error
test: replace panic in favor of ParseError
2023-03-26 10:07:23 +02:00
Terts Diepraam
5dfa9548b7 stdbuf: get profile from the end of the path
The path is not always /target/{PROFILE}, because cross uses
/target/{TARGET_TRIPLE}/profile, so we have to get the name
in another way. StackOverflow recommended the getting the
third component from the back of the path
2023-03-25 18:04:01 +01:00
Maciej Habasiński
02f00e2c6b
du: fix --threshold err msg 2023-03-25 16:44:14 +01:00
Sylvestre Ledru
c0bd851184
Merge pull request #4629 from tertsdiepraam/uniq-remove-strum
`uniq`: remove `strum` dependency
2023-03-25 16:00:38 +01:00
leon3s
11fd56c2be test: fmt + requested change 2023-03-25 14:03:45 +01:00
leon3s
bf94e8fff1 test: refactor error handling with ParseError enum 2023-03-25 14:03:45 +01:00
leon3s
9fb18bb08c test: Remplaced panic in favor of ParseError 2023-03-25 14:03:45 +01:00
Terts Diepraam
5a60aa0a19 uniq: convert string to Delimiters manually instead of via strum 2023-03-25 11:57:03 +01:00
Terts Diepraam
aabfda6927 factor: remove paste dev dependency 2023-03-25 11:56:51 +01:00
Sylvestre Ledru
9d54ed02a8 ln -i: adjust the behavior to match the GNU change
Just like mv & cp

Matches the change upstream
7a69df88999bedd8e9fccf9f3dfa9ac6907fab66
2023-03-25 11:22:45 +01:00
Sylvestre Ledru
d0a4059f34 cp -i: adjust the behavior to match the GNU change
Just like mv

Note that cp -i -u won't show the overwrite question

Matches the change upstream
7a69df88999bedd8e9fccf9f3dfa9ac6907fab66
2023-03-25 11:22:45 +01:00
Sylvestre Ledru
0d5daacf99 mv -i: adjust the behavior to match the GNU change
Matches the change upstream
7a69df88999bedd8e9fccf9f3dfa9ac6907fab66
2023-03-25 11:22:45 +01:00
Sylvestre Ledru
20cfd299e7
Merge pull request #4493 from tertsdiepraam/shred-expand-buffer-size
`shred`: refactor to clean up code and reduce syscalls
2023-03-24 23:15:13 +01:00
Sylvestre Ledru
449b405eb1
Improve a syntax of the md 2023-03-24 23:15:07 +01:00
Sylvestre Ledru
f3c2ae853a
Improve a syntax of the md 2023-03-24 23:14:57 +01:00
Sylvestre Ledru
8e1082458f
Merge pull request #4393 from cakebaker/uucore_indent_usage_info
uucore: indent multiline usage info
2023-03-24 23:13:11 +01:00
Sylvestre Ledru
ed4222e731
Merge pull request #4470 from tertsdiepraam/release-fast-and-small
`release-fast` and `release-small` profiles and a page on packaging in the docs.
2023-03-24 23:03:18 +01:00
Sylvestre Ledru
cd7d9b721d
Merge pull request #4566 from SSJDeathSpawn/main
fix: to show the name of utility instead of 'manpages'
2023-03-24 22:55:49 +01:00
Daniel Hofstetter
cc77a952f5
Merge pull request #4589 from piotrkwiecinski/more-move-string-to-md-file
more: move help strings to markdown file
2023-03-24 07:11:37 +01:00
Daniel Hofstetter
e03ed21e10
Merge pull request #4591 from piotrkwiecinski/nice-move-string-to-md-file
nice: move help strings to markdown file
2023-03-24 07:06:13 +01:00
Piotr Kwiecinski
d4758ff3c8 more: modernize about section 2023-03-23 18:44:03 +01:00
Sylvestre Ledru
9090dd783a
Merge pull request #4590 from piotrkwiecinski/mv-move-string-to-md-file
mv: move help strings to markdown file
2023-03-23 18:11:45 +01:00
Piotr Kwiecinski
ac01925583 mv: restore backup control long help 2023-03-23 16:12:55 +01:00
Piotr Kwiecinski
6c9664433f more: group about and usage 2023-03-23 16:09:04 +01:00
Piotr Kwiecinski
04c0b5118d mv: remove long help, change static to const, remove whitespace 2023-03-23 16:06:10 +01:00
Daniel Hofstetter
7853d3707b
Merge pull request #4583 from piotrkwiecinski/join-move-string-to-md-file
join: move help strings to markdown file
2023-03-23 16:01:53 +01:00
Piotr Kwiecinski
896314a64e nice: move help strings to markdown file 2023-03-23 14:52:33 +01:00
Piotr Kwiecinski
0768c63361 mv: move help strings to markdown file 2023-03-23 14:30:17 +01:00
Piotr Kwiecinski
d96aa3e098 more: move help strings to markdown file 2023-03-23 14:07:12 +01:00
Daniel Hofstetter
2db88f1f26
Merge pull request #4585 from piotrkwiecinski/id-move-string-to-md-file
id: move help strings to a markdown file
2023-03-23 13:46:21 +01:00
Daniel Hofstetter
5d9585a743
Merge pull request #4587 from piotrkwiecinski/logname-move-string-to-md-file
logname: move help strings to markdown file
2023-03-23 13:43:12 +01:00
Daniel Hofstetter
c51e0db35f
join: add missing "join" to markdown file 2023-03-23 13:38:27 +01:00
Daniel Hofstetter
6970da3b2b
Merge pull request #4581 from piotrkwiecinski/touch-move-string-to-md-file
touch: move help strings to markdown file
2023-03-23 13:34:26 +01:00
Piotr Kwiecinski
6adcf066de logname: move help strings to markdown file 2023-03-23 12:06:59 +01:00
Piotr Kwiecinski
186c85522e id: move help strings to a markdown file 2023-03-23 11:16:03 +01:00
Piotr Kwiecinski
540435806c join: move help strings to markdown file 2023-03-23 10:44:29 +01:00
Piotr Kwiecinski
4597a5dac0 touch: move help strings to markdown file 2023-03-23 10:10:59 +01:00
Piotr Kwiecinski
d70b3e72c4 nproc: move help strings to markdown file 2023-03-23 08:57:18 +01:00