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
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
Yykz
652e02fb59
cargo fmt
2023-12-18 15:34:51 +01:00
Daniel Hofstetter
917c6a4743
ls: support hyperlinks for dir names
2023-12-18 15:26:09 +01:00
Yykz
cae113c237
Added tests
2023-12-18 14:12:59 +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
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
57cd69b466
Merge pull request #5639 from lcheylus/openbsd-fix
...
tests/hostname: disable failing test_hostname::test_hostname_ip on OpenBSD
2023-12-16 10:25:52 +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
Terts Diepraam
66bd065835
Merge pull request #5641 from cakebaker/ls_block_size_si_human_readable
...
ls: make --block-size and --human-readable/--si override each other
2023-12-14 17:04:34 +01:00
Daniel Hofstetter
6fb3bbb8a0
mv: rename two tests
2023-12-13 14:27:19 +01:00
Daniel Hofstetter
42558344f1
ls: enable "args override self"
2023-12-12 14:23:51 +01:00
Daniel Hofstetter
89cb4acb99
ls: encode path when using --hyperlink
2023-12-12 10:03:55 +01:00
Daniel Hofstetter
6711dd5694
ls: make --block-size and --human-readable/--si
...
override each other
2023-12-11 16:38:55 +01:00
Daniel Hofstetter
3dad5d4d56
Merge pull request #5635 from tertsdiepraam/fix-echo-override
...
`echo`: make `-e` and `-E` override each other
2023-12-11 14:21:15 +01:00
Terts Diepraam
bc5b5e013a
tr: operate on bytes instead of chars
2023-12-11 13:35:17 +01:00
Laurent Cheylus
2faab59aa4
tests/hostname: disable failing test_hostname::test_hostname_ip on OpenBSD
...
- On OpenBSD, test_hostname::test_hostname_ip fails with "failed to lookup address information:
Name does not resolve" error
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2023-12-11 12:45:16 +01:00
Terts Diepraam
191eb9ac12
echo: make -e and -E override each other
2023-12-11 10:53:55 +01:00
Sylvestre Ledru
4442b35370
Merge pull request #5626 from cakebaker/ls_invalid_block_size
...
ls: handle invalid block size as GNU does
2023-12-11 07:49:38 +01:00
Dorian Péron
673093f842
ls: set default quoting style to literal when not TTY ( #5553 )
...
* ls: set default quoting style to literal if output is not TTY
* tests/ls: Fix quoting tests that now run with Literal as default
* ls: Fix formatting/linting/spelling issues
* tests/ls: Fix windows escaped tests
2023-12-10 16:07:41 +01:00
Sylvestre Ledru
1d4c919b97
Add mdir to the spell ignore
2023-12-09 16:33:19 +01:00
Sylvestre Ledru
e071286eb0
address review comments
2023-12-09 13:10:41 +01:00
Sylvestre Ledru
268b180416
ls colors: create a stylemanager to carry the previous style to know if we need to reset or not
2023-12-09 13:10:38 +01:00
Sylvestre Ledru
b676216f9b
ls: use the gnu_legacy feature from lscolors
2023-12-09 13:05:12 +01:00
Daniel Hofstetter
e9dc2930ee
ls: handle invalid block size as GNU does
2023-12-08 19:19:51 +01:00
Daniel Hofstetter
c111dc88ac
du: fix issue with dereference in test
2023-12-08 10:23:15 +01:00
zhitkoff
967c539cc6
wc: more tests
2023-12-07 10:50:55 -05:00
zhitkoff
054ca4a6b5
wc: better handle files in pseudo-filesystems
2023-12-07 10:50:55 -05:00
Sylvestre Ledru
ca024abe31
Merge pull request #5554 from cakebaker/mv_no_target_directory
...
mv: fix issue with -T and destination ending with "/"
2023-12-07 14:13:06 +01:00
Sylvestre Ledru
fe730f8a49
Merge pull request #5611 from sylvestre/dirdb
...
dircolors: Move the static long string into structures.
2023-12-07 09:58:55 +01:00
Daniel Hofstetter
5a32ab8004
ls: implement --hyperlink
2023-12-07 08:14:25 +01:00
Sylvestre Ledru
80b1ccd665
Merge pull request #5609 from cakebaker/ls_ignore_value_of_posixly_correct
...
ls: ignore value of `POSIXLY_CORRECT`
2023-12-06 21:27:21 +01:00
Sylvestre Ledru
b0fdb1edef
Rest of the comments
2023-12-04 23:39:10 +01:00
Sylvestre Ledru
dabbcff9fb
dircolors: manage the --print-ls-colors pipe option
2023-12-04 22:41:03 +01:00
Terts Diepraam
35548e2137
Merge pull request #5615 from cakebaker/du_disable_test_on_android
...
du: disable test on Android
2023-12-03 16:58:00 +01:00
Daniel Hofstetter
51fc2d7564
ls: ignore value of POSIXLY_CORRECT
2023-12-03 16:01:19 +01:00
Daniel Hofstetter
49fb72ed21
du: disable test on Android
2023-12-03 14:07:03 +01:00
Nathan Houghton
0ea1a7cd88
tests/cp, tests/test: Don't attempt to set sticky file bit on FreeBSD
...
On FreeBSD (and OpenBSD), only the superuser can set the file sticky
bit.
2023-12-02 16:58:27 +01:00
Sylvestre Ledru
e24d6b2fbd
Merge pull request #5604 from cakebaker/ls_fix_padding
...
ls: fix padding of size column when using `-l`
2023-12-02 09:40:18 +01:00
Daniel Hofstetter
6b3f00cc31
dd: skip two tests without "printf" feature
2023-12-01 10:03:44 +01:00
Piotr Kwiecinski
c6e7fdcabe
skip test_cp_arg_update_interactive on FreeBSD
2023-11-30 18:45:06 +01:00
Daniel Hofstetter
0ec6802459
ls: fix padding of size column when using -l
2023-11-30 16:19:27 +01:00
Daniel Hofstetter
6eec4fe8f9
cut: add test & improve error message
2023-11-29 09:41:11 +01:00
Sylvestre Ledru
b5ce876fef
Merge pull request #5580 from zhitkoff/split-r-chunk
...
split: passing GNU test r-chunk.sh
2023-11-28 10:38:00 +01:00
Sylvestre Ledru
14a8e8a452
Merge pull request #5128 from tertsdiepraam/printf-rewrite
...
`printf` rewrite (with a lot of `seq` changes)
2023-11-28 07:52:58 +01:00
Sylvestre Ledru
88d63be3a0
Merge pull request #4545 from jfinkels/dd-reblock
...
dd: buffer partial blocks in the output writer
2023-11-27 09:31:36 +01:00