Sylvestre Ledru
8d24036f5c
basenc: handle '--base32 .' arg
2024-01-14 23:27:00 +01:00
Sylvestre Ledru
4f33a375cd
factor: handle the '< .' arg
2024-01-14 23:26:57 +01:00
Sylvestre Ledru
e01d5f75f7
ls: if acl are used, show the + in the perms ( #5816 )
...
* ls: if acl are used, show the + in the perms
Tested by tests/mkdir/p-acl.sh
* CICD.yml: fix small formatting issue
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-14 15:57:22 +01:00
Daniel Hofstetter
ac27b6c4b0
Merge pull request #5833 from sylvestre/cut-multiple
...
cut: allow the same option to be passed multiple times
2024-01-13 16:58:04 +01:00
Sylvestre Ledru
bc51b8d216
cut: allow the same option to be passed multiple times
2024-01-13 15:09:16 +01:00
Atomei Alexandru
563df4b79d
Made cksum return an error if used on a directory. ( #5822 )
...
* Made cksum to return an error if it is used on a directory regardless of the algorithm
* Added one more test for cksum on folders and deleted an old one that expected it to succeed instead of fail
* Made cksum work on more than one item if it fails and added a test for this case
2024-01-13 14:43:36 +01:00
Sudhakar Verma
cd4568f5d9
printf: simplify loop
2024-01-12 17:12:30 +05:30
Sudhakar Verma
4e5a65ee41
printf: fix clippy warnings
2024-01-12 16:23:38 +05:30
Sudhakar Verma
2aa8a3502f
printf : no infinite loop
2024-01-12 16:08:47 +05:30
D9nni
9a76997b0a
cksum: fixed clippy and fmt errors
2024-01-10 16:49:52 +02:00
D9nni
911df1d76c
cksum: code improvements for cksum --raw --algorithm
2024-01-10 15:15:23 +02:00
D9nni
c7b15ddce9
cksum: fixed cksum --raw --algorithm
2024-01-10 15:04:19 +02:00
D9nni
96271ffa3c
cksum: added tests for --raw with each algorithm, not working for crc, sysv, bsd
2024-01-09 23:12:40 +02:00
Sylvestre Ledru
d72343bc64
Merge branch 'main' into cksum
2024-01-08 09:02:11 +01:00
D9nni
f03ef79bc8
cksum: added tests for --raw and fixed fmt whitespace error
2024-01-08 08:51:06 +02:00
Atomei Alexandru Constantin
288ad97878
Made cksum to return an error if the algorithm blake2b is used on a directory
2024-01-07 23:39:33 +02:00
D9nni
8c1fc8b287
Added --raw argument, with error for multiple files
2024-01-07 21:43:31 +02:00
Kostiantyn Hryshchuk
c867d6bfb1
shred: implemented "--remove" arg ( #5790 )
2024-01-06 22:50:21 +01:00
Daniel Hofstetter
e13f0d80ee
Merge pull request #5778 from RenjiSann/main
...
ls: Support QUOTING_STYLE environment variable
2024-01-05 15:55:23 +01:00
Sylvestre Ledru
e64a0b4a26
Various fixes
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-05 12:56:27 +01:00
Sylvestre Ledru
aabf5fa577
cp: manages target with trailing '/'
2024-01-05 12:56:27 +01:00
Sylvestre Ledru
108dc4a0cd
Move path_ends_with_terminator from mv into uucore
2024-01-05 12:56:27 +01:00
Sylvestre Ledru
4c698d58e0
mv: support the case mkdir a && mv a e/
2024-01-05 12:56:24 +01:00
cre4ture
9b3cc5437c
head: head_backwards for non-seekable files like /proc/* or fifos (named pipes) ( #5732 )
...
* implement head_backwards for non-seekable files like /proc/* or pipes
Signed-off-by: Ulrich Hornung <hornunguli@gmx.de>
2024-01-05 00:25:59 +01:00
Dorian Péron
6760d63539
ls: Fix clippy warning
2024-01-04 16:51:30 +01:00
Dorian Péron
e30f191579
ls: Handle the use of QUOTING_STYLE variable
2024-01-03 18:37:51 +01:00
Daniel Hofstetter
e4fbc31714
du: ignore duplicate names with --files0-from
2024-01-03 09:39:16 +01:00
Daniel Hofstetter
239e5426e6
du: show error for nul names with --files0-from
2024-01-02 16:06:41 +01:00
Daniel Hofstetter
01e12120c1
mv: simplify condition
2024-01-01 16:48:06 +01:00
Daniel Hofstetter
5673f32c63
cp: show error if source & dest are same file
2023-12-31 16:01:34 +01:00
Sylvestre Ledru
b07ea957d3
rm: improve the code a tiny bit
2023-12-31 12:03:42 +01:00
Sylvestre Ledru
5fc01f718a
Merge pull request #5747 from Ato2207/fix_docs
...
Fix docs issues.
2023-12-30 19:28:54 +01:00
Vardhan Patil
d990021572
cksum: remove redundant guard
2023-12-30 20:39:09 +05:30
Vardhan Patil
e7cb4e9ff0
cksum: properly handle cases where --lenghth is 0 or >512
2023-12-30 20:28:03 +05:30
Atomei Alexandru
5ade45f8e9
Merge branch 'main' into fix_docs
2023-12-30 15:43:54 +02:00
Vardhan Patil
aec0cfa6e3
cksum: remove commented code
2023-12-30 16:05:20 +05:30
Vardhan Patil
7caa0bcdea
cksum: fix formatting in cksum.rs
2023-12-30 16:02:10 +05:30
Vardhan Patil
037073d852
cksum: make the output formatting match GNU
2023-12-30 15:59:29 +05:30
Sylvestre Ledru
138b11efbd
remove extra spaces
2023-12-30 09:53:32 +01:00
Vardhan Patil
231987b109
cksum: create initial implementation of the --length option
2023-12-30 12:48:19 +05:30
Matei Mantu
21d09dd404
ls: unquoted names should be indented with a space if there is a quoted name ( #5740 )
...
* ls: change indentation when file names include quotes to match GNU's
* display_grid: Changed order of parameters because it made more sense
* ls -l: Add padding for unquoted filenames
* Fix checking for quoted filenames
* Simplify if
2023-12-29 15:19:26 +01:00
Sylvestre Ledru
448e4c2224
Merge pull request #5745 from cakebaker/cp_adapt_warning
...
cp: adapt warning if source is used more than once
2023-12-29 15:09:24 +01:00
Alexandru-Constantin Atomei
d15981650a
Fixed one typo
2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
1e5244765d
Made one more modification to test usage string.
2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
e61318413e
Added documentation for the vdir command.
2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
ce28ae5c02
Fixed more and test docs
2023-12-29 15:08:50 +01:00
Sylvestre Ledru
f8f82774c3
Merge pull request #5696 from dvalere/my-conts
...
src: Fixing typos in signatures for the argument parser
2023-12-29 15:08:39 +01:00
Daniel Hofstetter
7025619325
cp: adapt warning if source is used more than once
2023-12-29 10:24:08 +01:00
Daniel Hofstetter
9bb725cefc
clippy: fix warnings introduced by Rust 1.75
2023-12-28 18:17:06 +01:00
Sylvestre Ledru
2c0f15be55
install: if run as root, revert the uid & gid to root
2023-12-28 10:06:13 +01:00