Jeffrey Finkelstein
e060ac53f2
wc: return UResult from uumain() function
2022-01-02 11:15:30 -05:00
Jeffrey Finkelstein
f89dc6585d
unexpand: return UResult from uumain() function
2022-01-02 10:33:41 -05:00
Jeffrey Finkelstein
b7e646e710
tty: return UResult from uumain() function
2022-01-02 10:28:53 -05:00
Terts Diepraam
ebd5e965e9
stdbuf: fix cargo --git build ( #1276 )
2022-01-02 14:17:05 +01:00
Sebastian Holgersson
a3895bba59
numfmt: replace if let with simpler match
2022-01-02 02:16:59 +01:00
Sylvestre Ledru
406cd887e0
Merge pull request #2828 from jfinkels/sum-uresult
...
sum: return UResult from uumain() function
2022-01-01 22:37:01 +01:00
Sylvestre Ledru
8673fbaa03
Merge pull request #2829 from jfinkels/sync-uresult
...
sync: return UResult from uumain() function
2022-01-01 22:36:11 +01:00
Sylvestre Ledru
46767952ce
Merge pull request #2831 from jfinkels/test-uresult
...
test: return UResult from uumain() function
2022-01-01 22:35:51 +01:00
Sebastian Holgersson
af5919e466
numfmt: implement missing --suffix option
...
adds support for the --suffix option from issue #1280 .
2022-01-01 21:57:23 +01:00
Terts Diepraam
7fa720d311
fix lint, fmt & udeps errors
2022-01-01 19:43:44 +01:00
Terts Diepraam
62341112df
remove cut-specific macros
2022-01-01 18:50:34 +01:00
Terts Diepraam
c075f105a4
remove unnecessary and unused macros
2022-01-01 18:31:47 +01:00
Jeffrey Finkelstein
d03dcc0231
test: return UResult from uumain() function
2021-12-31 18:25:26 -05:00
Jeffrey Finkelstein
3339060ece
tsort: return UResult from uumain() function
2021-12-31 14:57:00 -05:00
Jeffrey Finkelstein
c23a844c1e
truncate: return UResult from uumain() function
2021-12-31 14:50:52 -05:00
Jeffrey Finkelstein
21c1d832ae
tr: return UResult from uumain() function
2021-12-31 14:44:57 -05:00
Jeffrey Finkelstein
1ead016f35
fixup! sync: return UResult from uumain() function
2021-12-31 14:28:27 -05:00
Jeffrey Finkelstein
28958a3ed2
tee: return UResult from uumain() function
2021-12-31 14:07:39 -05:00
Jeffrey Finkelstein
4e16717c22
sync: return UResult from uumain() function
2021-12-31 13:59:20 -05:00
Jeffrey Finkelstein
29d7103670
sum: return UResult from uumain() function
2021-12-31 13:53:56 -05:00
Jeffrey Finkelstein
df188258ec
stdbuf: return UResult from uumain() function
2021-12-31 12:23:45 -05:00
Jeffrey Finkelstein
1f937b0760
split: return UResult from uumain() function
2021-12-31 12:19:36 -05:00
Jeffrey Finkelstein
b5522e1132
runcon: return UResult from uumain() function
2021-12-31 12:12:13 -05:00
Sylvestre Ledru
cb051e7416
Merge pull request #2825 from jfinkels/stat-uresult
...
stat: return UResult from uumain() function
2021-12-31 11:06:02 +01:00
Sylvestre Ledru
e3ba10cf1f
Merge pull request #2824 from jfinkels/split-strategy-enum
...
split: replace string checking with Strategy enum
2021-12-31 10:44:49 +01:00
Sylvestre Ledru
3e97de6946
Merge pull request #2820 from jfinkels/rm-uresult
...
rm: return UResult from uumain() function
2021-12-31 10:43:47 +01:00
Sylvestre Ledru
a99ce6f3f0
Merge pull request #2819 from jfinkels/relpath-uresult
...
relpath: return UResult from uumain() function
2021-12-31 10:43:21 +01:00
Sylvestre Ledru
60f501bab3
Merge pull request #2818 from jfinkels/readlink-uresult
...
readlink: return UResult from uumain() function
2021-12-31 10:43:09 +01:00
Sylvestre Ledru
e08f94ca28
Merge pull request #2817 from jfinkels/ptx-uresult
...
ptx: return UResult from uumain() function
2021-12-31 10:42:45 +01:00
Jeffrey Finkelstein
a862fdd60b
stat: return UResult from uumain() function
2021-12-30 22:39:23 -05:00
Jeffrey Finkelstein
8f04613a84
split: create Strategy enum for chunking strategy
2021-12-30 22:18:17 -05:00
Jeffrey Finkelstein
25d0ccc61d
split: move parsing outside of *Splitter::new()
...
Move the parsing of the output chunk size from inside
`ByteSplitter::new()` and `LineSplitter::new()` to outside. This
eliminates duplicate code and reduces the responsibilities of the
`ByteSplitter` and `LineSplitter` implementations.
2021-12-30 22:17:26 -05:00
Jeffrey Finkelstein
75e742a008
split: correct help text for -l option
2021-12-30 22:17:20 -05:00
Sylvestre Ledru
9f21cd0d37
Merge pull request #2822 from jfinkels/shred-uresult
...
shred: return UResult from uumain() function
2021-12-30 09:51:51 +01:00
Jeffrey Finkelstein
e9093681a5
shred: return UResult from uumain() function
2021-12-29 20:33:04 -05:00
Sylvestre Ledru
a8457bfad6
Merge pull request #2798 from jfinkels/fmt-uresult
...
fmt: return UResult from uumain() function
2021-12-29 21:59:50 +01:00
Jeffrey Finkelstein
f6305e2a3e
rm: return UResult from uumain() function
2021-12-29 15:57:55 -05:00
Jeffrey Finkelstein
ab495427b4
relpath: return UResult from uumain() function
2021-12-29 15:49:30 -05:00
Jeffrey Finkelstein
980708cdee
readlink: return UResult from uumain() function
2021-12-29 14:44:22 -05:00
Jeffrey Finkelstein
2a7831bd94
readlink: eliminate duplicate code
2021-12-29 14:42:00 -05:00
Jeffrey Finkelstein
da198e5469
ptx: return UResult from uumain() function
2021-12-29 14:28:45 -05:00
Terts Diepraam
4ae838a8b2
Merge pull request #2786 from E3uka/cut_uresult
...
cut: use UResult
2021-12-29 15:24:05 +01:00
Terts Diepraam
25c10ad540
Merge pull request #2791 from jfinkels/csplit-uresult
...
csplit: return UResult from uumain() function
2021-12-29 15:21:56 +01:00
jfinkels
8a55205521
seq: return UResult from uumain() function ( #2784 )
2021-12-29 15:20:17 +01:00
jfinkels
3f18b98c9d
dd: return UResult from uumain() function ( #2792 )
...
* dd: return UResult from uumain() function
* fixup! dd: return UResult from uumain() function
2021-12-29 15:13:52 +01:00
Terts Diepraam
645eea0c09
Merge pull request #2815 from jfinkels/printf-uresult
...
printf: return UResult from uumain() function
2021-12-29 15:10:20 +01:00
Terts Diepraam
12770ca2a9
Merge pull request #2814 from jfinkels/pinky-uresult
...
pinky: return UResult from uumain() function
2021-12-29 15:09:58 +01:00
Terts Diepraam
a285e8bfa9
Merge pull request #2813 from jfinkels/pathchk-uresult
...
pathchk: return UResult from uumain() function
2021-12-29 15:09:30 +01:00
Terts Diepraam
36b4ab4e7e
Merge pull request #2812 from jfinkels/paste-uresult
...
paste: return UResult from uumain() function
2021-12-29 15:09:12 +01:00
Terts Diepraam
80fab36639
Merge pull request #2811 from jfinkels/od-uresult
...
od: return UResult from uumain() function
2021-12-29 15:08:49 +01:00
Terts Diepraam
463127f59f
Merge pull request #2810 from jfinkels/numfmt-uresult
...
numfmt: return UResult from uumain() function
2021-12-29 15:08:27 +01:00
Terts Diepraam
5faf7a37f9
Merge pull request #2808 from jfinkels/nohup-uresult
...
nohup: return UResult from uumain() function
2021-12-29 15:08:04 +01:00
Terts Diepraam
689ae1dd84
Merge pull request #2807 from jfinkels/nice-uresult
...
nice: return UResult from uumain() function
2021-12-29 15:07:40 +01:00
Terts Diepraam
46a6b85ba0
Merge pull request #2806 from jfinkels/mv-uresult
...
mv: return UResult from uumain() function
2021-12-29 15:07:12 +01:00
Terts Diepraam
3a76cbe9b9
Merge pull request #2805 from jfinkels/mknod-uresult
...
mknod: return UResult from uumain() function
2021-12-29 15:06:37 +01:00
Terts Diepraam
92259b6959
Merge pull request #2804 from jfinkels/mkfifo-uresult
...
mkfifo: return UResult from uumain() function
2021-12-29 15:06:03 +01:00
Terts Diepraam
b81fb167e2
Merge pull request #2803 from jfinkels/logname-uresult
...
logname: return UResult from uumain() function
2021-12-29 15:05:23 +01:00
Terts Diepraam
27da982150
Merge pull request #2802 from jfinkels/link-uresult
...
link: return UResult from uumain() function
2021-12-29 15:05:01 +01:00
Terts Diepraam
50bd240451
Merge pull request #2801 from jfinkels/join-uresult
...
join: return UResult from uumain() function
2021-12-29 15:04:37 +01:00
Terts Diepraam
2d77ea6b68
Merge pull request #2800 from jfinkels/hashsum-uresult
...
hashsum: return UResult from uumain() function
2021-12-29 15:04:03 +01:00
Terts Diepraam
ee60d58410
Merge pull request #2799 from jfinkels/groups-uresult
...
groups: return UResult from uumain() function
2021-12-29 15:03:31 +01:00
Terts Diepraam
2fa0c55a6e
Merge pull request #2797 from jfinkels/factor-uresult
...
factor: return UResult from uumain() function
2021-12-29 15:02:22 +01:00
Terts Diepraam
a6f5238f19
Merge pull request #2796 from jfinkels/expand-uresult
...
expand: return UResult from uumain() function
2021-12-29 15:01:40 +01:00
Terts Diepraam
bd98dda7fb
Merge pull request #2795 from jfinkels/dircolor-uresult
...
dircolors: return UResult from uumain() function
2021-12-29 15:00:34 +01:00
Terts Diepraam
33bd5e0913
Merge pull request #2788 from jfinkels/chroot-uresult
...
chroot: return UResult from uumain() function
2021-12-29 14:59:39 +01:00
Jeffrey Finkelstein
c875eef632
printf: return UResult from uumain() function
2021-12-28 21:05:32 -05:00
Jeffrey Finkelstein
a6a4e0acd2
pinky: return UResult from uumain() function
2021-12-28 20:59:55 -05:00
Jeffrey Finkelstein
fcd5c0a30f
pathchk: return UResult from uumain() function
2021-12-28 20:43:57 -05:00
Jeffrey Finkelstein
dd9ce9d267
paste: return UResult from uumain() function
2021-12-28 20:27:13 -05:00
Jeffrey Finkelstein
45a5fb8391
od: return UResult from uumain() function
2021-12-28 20:07:21 -05:00
Jeffrey Finkelstein
595d4dbb95
numfmt: return UResult from uumain() function
2021-12-28 19:46:20 -05:00
Jeffrey Finkelstein
f91773037e
nohup: return UResult from uumain() function
2021-12-28 14:45:29 -05:00
Jeffrey Finkelstein
b89bb391c2
nice: return UResult from uumain() function
2021-12-27 19:44:26 -05:00
Jeffrey Finkelstein
d8c5b50923
mv: return UResult from uumain() function
2021-12-27 19:35:38 -05:00
Jeffrey Finkelstein
882a293974
mknod: return UResult from uumain() function
2021-12-27 18:49:35 -05:00
Jeffrey Finkelstein
b8bc5129fa
mkfifo: return UResult from uumain() function
2021-12-27 18:37:28 -05:00
Jeffrey Finkelstein
14c62cc5e3
logname: return UResult from uumain() function
2021-12-27 18:32:39 -05:00
Jeffrey Finkelstein
a882b0cf3e
link: return UResult from uumain() function
2021-12-27 18:26:25 -05:00
Jeffrey Finkelstein
a8c2beb548
join: return UResult from uumain() function
2021-12-27 15:53:21 -05:00
Jeffrey Finkelstein
354cd7d3df
hashsum: return UResult from uumain() function
2021-12-27 15:46:47 -05:00
Jeffrey Finkelstein
c3cf88df83
groups: return UResult from uumain() function
2021-12-27 15:22:55 -05:00
Jeffrey Finkelstein
be13ff4890
fmt: return UResult from uumain() function
2021-12-26 16:41:16 -05:00
Jeffrey Finkelstein
e9fc964a3e
factor: return UResult from uumain() function
2021-12-26 16:06:33 -05:00
Jeffrey Finkelstein
bb3efc7c30
expand: return UResult from uumain() function
2021-12-26 16:02:35 -05:00
Jeffrey Finkelstein
adce52571d
dircolors: return UResult from uumain() function
2021-12-26 15:57:23 -05:00
Ebuka Agbanyim
ae6e3fdaf7
cut: use UResult
2021-12-26 20:56:23 +00:00
Terts Diepraam
7ae9e0a7eb
cksum: accept directories as empty files
2021-12-26 21:50:13 +01:00
Jeffrey Finkelstein
f2bf1a7ff7
fixes suggested by nightly version of clippy
2021-12-26 15:45:33 -05:00
Jeffrey Finkelstein
a84f57dd1f
fixup! csplit: return UResult from uumain() function
2021-12-26 15:20:09 -05:00
Terts Diepraam
8885263ad5
cksum: use UIoError
2021-12-26 18:41:25 +01:00
Terts Diepraam
4b4a83ac2e
Merge pull request #2789 from jfinkels/cksum-uresult
...
cksum: return UResult from uumain() function
2021-12-26 18:30:30 +01:00
Jeffrey Finkelstein
a26fbe7c8e
csplit: return UResult from uumain() function
2021-12-25 20:19:16 -05:00
Sylvestre Ledru
5f71e0c8c8
Merge pull request #2790 from jfinkels/comm-uresult
...
comm: return UResult from uumain() function
2021-12-25 10:41:39 +01:00
Sylvestre Ledru
4ada922a4a
Merge pull request #2741 from jfinkels/seq-width-negative-decimal
...
seq: correct width for certain negative decimals
2021-12-24 20:46:43 +01:00
Jeffrey Finkelstein
2aebfc9f8d
comm: return UResult from uumain() function
2021-12-24 13:40:18 -05:00
Jeffrey Finkelstein
aacbfe681f
chroot: return UResult from uumain() function
2021-12-24 13:26:48 -05:00
Jeffrey Finkelstein
6f7ce781cb
cksum: return UResult from uumain() function
2021-12-24 13:24:09 -05:00
Jeffrey Finkelstein
294bde8e08
seq: correct width for certain negative decimals
...
Fix a bug in which a negative decimal input would not be displayed with
the correct width in the output. Before this commit, the output was
incorrectly
$ seq -w -.1 .1 .11
-0.1
0.0
0.1
After this commit, the output is correctly
$ seq -w -.1 .1 .11
-0.1
00.0
00.1
The code was failing to take into account that the input decimal "-.1"
needs to be displayed with a leading zero, like "-0.1".
2021-12-23 20:37:29 -05:00
Jeffrey Finkelstein
b8c572b32d
tac: return UResult from uumain() function
2021-12-23 20:30:51 -05:00
kimono-koans
fd64e01d92
ls: Reduce binary size of ls by removing regex crate ( #2781 )
2021-12-22 18:31:45 +01:00