Jan Scheer
fa64407cb0
cut: fix argument parsing for the delimiter
...
This fixes the argument parsing for the delimiter for the two special
cases `-d=` and `-d ''`.
2022-06-09 22:14:43 +02:00
Terts Diepraam
95de5f6494
Merge pull request #3604 from weijunji/mktemp-fix
...
mktemp: respect POSIXLY_CORRECT env var when parsing args
2022-06-09 18:04:37 +02:00
Junji Wei
1ba0bfc67a
mktemp: respect POSIXLY_CORRECT env var when parsing args
...
Signed-off-by: Junji Wei <harukawei99@gmail.com>
2022-06-09 20:51:51 +08:00
Sylvestre Ledru
702a0b7a34
Merge pull request #3558 from uutils/dependabot/cargo/once_cell-1.12.0
...
build(deps): bump once_cell from 1.11.0 to 1.12.0
2022-06-07 15:06:52 +02:00
Sylvestre Ledru
d7b7b7f8c1
Merge pull request #3595 from cakebaker/specifier_only_allowed_with_last_value
...
expand: allow specifier only with last value
2022-06-07 15:06:40 +02:00
Terts Diepraam
11ee37c54a
Merge pull request #3598 from uutils/syl-coverage-fail-fast
...
github: continue the other coverage jobs if one fails
2022-06-07 14:56:12 +02:00
Sylvestre Ledru
0532c743f1
Merge pull request #2695 from jhscheer/tail_notify
...
`tail` overhaul (--follow=name, etc.)
2022-06-07 12:05:16 +02:00
Sylvestre Ledru
5f999e9d92
Merge pull request #3599 from jfinkels/mktemp-suffix-empty-string
...
mktemp: error on empty --suffix in some situations
2022-06-07 09:40:14 +02:00
Jeffrey Finkelstein
6da070cdd3
mktemp: error on empty --suffix in some situations
...
Make `mktemp` exit with an error if the `--suffix` option is the empty
string and the template argument does not end in an "X". Previously,
the program succeeded.
Before this commit,
$ mktemp --suffix= aXXXb
apBEb
After this commit,
$ mktemp --suffix= aXXXb
mktemp: with --suffix, template 'aXXXb' must end in X
2022-06-06 21:24:59 -04:00
Sylvestre Ledru
8b1236c081
github: continue the other coverage jobs if one fails
2022-06-06 21:21:19 +02:00
dependabot[bot]
5a42c06b25
build(deps): bump once_cell from 1.11.0 to 1.12.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 19:18:28 +00:00
Sylvestre Ledru
3a45f00fed
Merge pull request #3312 from uutils/dependabot/cargo/rust-ini-0.18.0
...
build(deps): bump rust-ini from 0.17.0 to 0.18.0
2022-06-06 21:13:59 +02:00
Sylvestre Ledru
7bd9ffa367
Merge pull request #3596 from cakebaker/fix_print_clash2
...
dircolors: update error message
2022-06-06 21:13:14 +02:00
Sylvestre Ledru
610806ddc5
Merge pull request #3597 from uutils/dependabot/cargo/memmap2-0.5.4
...
build(deps): bump memmap2 from 0.5.3 to 0.5.4
2022-06-06 21:12:31 +02:00
dependabot[bot]
dfd3be23b0
build(deps): bump memmap2 from 0.5.3 to 0.5.4
...
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases )
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.5.3...v0.5.4 )
---
updated-dependencies:
- dependency-name: memmap2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 15:15:45 +00:00
Jan Scheer
e8834597f3
Merge branch 'main' into tail_notify
2022-06-06 16:00:46 +02:00
Daniel Hofstetter
3c18da471d
dircolors: update error message
2022-06-06 14:56:46 +02:00
Jan Scheer
beb2b7cf5e
tail: use functionality from uucore::error
where applicable
...
* minor code clean-up
* remove test-suite summary from README
2022-06-06 14:36:51 +02:00
Daniel Hofstetter
804240164b
expand: allow specifier only with last value
2022-06-06 14:15:33 +02:00
Sylvestre Ledru
fc5aedfbb7
Merge pull request #3594 from cakebaker/handle_too_large_tab_stop
...
expand: handle too large tab size
2022-06-06 13:39:19 +02:00
Sylvestre Ledru
669fd6ab47
Merge pull request #3588 from uutils/dependabot/cargo/bytecount-0.6.3
...
build(deps): bump bytecount from 0.6.2 to 0.6.3
2022-06-06 13:36:17 +02:00
dependabot[bot]
82e81da967
build(deps): bump bytecount from 0.6.2 to 0.6.3
...
Bumps [bytecount](https://github.com/llogiq/bytecount ) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/llogiq/bytecount/releases )
- [Commits](https://github.com/llogiq/bytecount/commits )
---
updated-dependencies:
- dependency-name: bytecount
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 10:07:55 +02:00
Sylvestre Ledru
3f203c7ab1
Merge pull request #3586 from jfinkels/mktemp-multiple-x-sequences
...
mktemp: only replace last contiguous block of Xs
2022-06-06 10:06:44 +02:00
Sylvestre Ledru
63347abd19
Merge pull request #3592 from anastygnome/fork
...
Implement the --sync flag for df. (fixes #3564 )
2022-06-06 10:05:51 +02:00
Sylvestre Ledru
c4c6d42f02
Merge pull request #3591 from jhscheer/fix_3589
...
dircolors: add support for stdin "-" (fix : #3589 )
2022-06-06 10:04:42 +02:00
Jan Scheer
18bfc03008
test_dircolors: add test_extra_operand
2022-06-06 00:22:21 +02:00
Daniel Hofstetter
c14ff14e99
expand: handle too large tab size
2022-06-05 13:49:11 +02:00
anastygnome
f5ae859c38
Adds a test for sync.
...
It is probably too hard to verify that the sync is actually performed,
so we just check that we have a test using the code path, pro forma.
Signed-off-by: anastygnome <noreplygitemail@protonmail.com>
2022-06-05 09:43:59 +02:00
anastygnome
54590c0507
Implement the --sync flag for df. ( fixes #3564 )
...
This PR reuses the defined --sync flag for df, which was previously a
no-op, assigns its default value and uses the fact that
get_all_filesystems takes CLI options as a parameter to perform a sync
operation before any fs call.
Fixes #3564
Signed-off-by: anastygnome <noreplygitemail@protonmail.com>
2022-06-05 09:43:59 +02:00
Sylvestre Ledru
69c2871336
Merge pull request #3568 from jfinkels/mktemp-tmpdir-subdirectory
...
mktemp: combine `--tmpdir` and subdirectory info
2022-06-05 09:33:47 +02:00
Sylvestre Ledru
c874802285
Add a word to the spell ignore list
2022-06-05 09:32:24 +02:00
Sylvestre Ledru
e2782e2f75
Merge pull request #3583 from cakebaker/ticket_3574
...
expand: show error if --tabs arg has invalid chars
2022-06-05 09:31:21 +02:00
Sylvestre Ledru
10eee9cfca
Merge pull request #3590 from tertsdiepraam/ls-fix-double-quoting
...
ls: fix double quoting when color is enabled
2022-06-05 09:30:01 +02:00
Jan Scheer
e0efd6cc90
tail: update readme
...
* add clippy fixes
* add cicd fixes
2022-06-03 13:35:58 +02:00
Daniel Hofstetter
9651cff6c0
expand: show error if --tabs arg has invalid chars
...
Fixes #3574
2022-06-03 10:36:42 +02:00
Jan Scheer
f1b38e94cd
dircolors: add support for stdin "-" ( fix : #3589 )
2022-06-03 02:08:09 +02:00
Terts Diepraam
626ed43e05
ls: fix double quoting when color is enabled
...
When color was enabled the escape_name function was called twice which led to names like `hello world` being displayed as `"'hello world'".
2022-06-03 00:29:56 +02:00
Jan Scheer
70fed83305
tail: refactor and fixes to pass more GNU test-suite checks
...
* add fixes to pass:
- tail-2/F-vs-rename.sh
- tail-2/follow-name.sh
- tail-2/inotify-hash-abuse.sh
- tail-2/inotify-only-regular.sh
- tail-2/retry.sh
* add/improve documentation
2022-06-02 17:11:51 +02:00
Jan Scheer
94fe42634b
test_tail: a lot of minor improvements
...
* fix test_retry7
* fix test_follow_descriptor_vs_rename2
* set permissions with set_permissions instead of a call to chmod
* improve documentation
2022-06-02 17:03:49 +02:00
Jan Scheer
2e918813c1
test_tail: add test_follow_name_move_create2
2022-06-02 17:01:22 +02:00
Jan Scheer
42fa386d89
test_tail: add test_follow_truncate_fast
2022-06-02 16:56:09 +02:00
Jan Scheer
f3aacac9d8
test_tail: add test_follow_name_truncate4
2022-06-02 16:55:04 +02:00
Jan Scheer
8ee806a444
Merge branch 'main' into tail_notify
2022-06-02 16:31:25 +02:00
Sylvestre Ledru
68cc9312c8
Merge pull request #3585 from cakebaker/multiple_tabs
...
expand: allow multiple "tabs" args
2022-06-02 10:08:45 +02:00
Sylvestre Ledru
aeb01c6f52
Merge pull request #3563 from sylvestre/hard-to-sym
...
ln: Implement -L -P to make tests/ln/hard-to-sym.sh work
2022-06-02 08:19:17 +02:00
Jeffrey Finkelstein
a9e008f230
mktemp: add test for combining --tmpdir
, subdir
...
Add a unit test for combining the directory given in `--tmpdir` with
any subdirectory structure appearing in the prefix of the template
string. For example,
$ mktemp --tmpdir=a b/cXXX
a/b/cNqJ
This behavior is currently working, but a unit test was missing.
2022-06-01 18:22:17 -04:00
Jeffrey Finkelstein
cff7833bf6
mktemp: only replace last contiguous block of Xs
...
Fix a bug in which `mktemp` would replace everything in the template
argument from the first 'X' to the last 'X' with random bytes, instead
of just replacing the last contiguous block of 'X's.
Before this commit,
$ mktemp XXX_XXX
2meCpfM
After this commit,
$ mktemp XXX_XXX
XXX_Rp5
This fixes test cases `suffix2f` and `suffix2d` in
`tests/misc/mktemp.pl` in the GNU coreutils test suite.
2022-06-01 18:21:21 -04:00
Sylvestre Ledru
08fed8fb7b
Merge pull request #3541 from cakebaker/split_set_names_for_arg_values
...
split: set names for arg values
2022-06-01 23:12:36 +02:00
Sylvestre Ledru
36e5b60617
Merge pull request #3566 from cakebaker/print_ls_colors
...
dircolors: implement --print-ls-colors
2022-06-01 23:11:57 +02:00
Sylvestre Ledru
06c2aea1b4
ln: Implement -L -P to make tests/ln/hard-to-sym.sh work
2022-06-01 23:03:50 +02:00