Theophile Trunck
8bafcbab7a
Update the binary usage to match busybox
...
New tests in busybox are based on the fact that the function
appears in the usage of the busybox binary.
Because the tests are searching for an exact string they don't see
the function defined by coreutils.
By using the exact same string as busybox we can now also run the new
busybox tests
2021-03-10 23:52:33 +01:00
Ali
374a4fde86
paste: support multi-stdin ( #1791 )
...
- added `-` as the default input, since `paste` reads stdin if no file
is provided
- `paste` also supports providing `-` multiple times
- added a test for it
2021-03-10 23:19:12 +01:00
Theophile Trunck
9ab8bb5db5
Fix make busytest
...
The binary was rename from uutils to coreutils in that commit
52ae491fcd
but the makefile to run the busybox test wasn't updated
This commit update the makefile to use the correct binary name.
It also update the busybox to the 1.32.1 version and fix the makefile
to run all the busybox tests instead of stopping after the failed exe
2021-03-10 23:13:57 +01:00
Mikadore
734ef0a8a1
uniq: fixed #550 ( #1790 )
2021-03-10 21:54:31 +01:00
Sylvestre Ledru
a42e24e088
Merge pull request #1786 from jeckersb/clippy-cleanup
...
Fix some clippy warnings
2021-03-10 15:32:27 +01:00
John Eckersberg
08eb56f120
Fix some clippy warnings
2021-03-10 08:42:00 -05:00
Sylvestre Ledru
476a3d42da
Merge pull request #1789 from ali5h/paste-clap
...
paste: update cargo lock file
2021-03-10 11:24:43 +01:00
Ali Shariat
62388faab8
paste: update cargo lock file
...
missed from #1785
2021-03-10 02:04:37 -08:00
Sylvestre Ledru
517b2a6a22
Merge pull request #1767 from FelipeLema/mod_opt
...
Group OPT_ARGUMENTS into mods
2021-03-09 22:57:30 +01:00
Sylvestre Ledru
955b7ee6d5
Merge pull request #1785 from ali5h/paste-clap
...
paste: move from getopts to clap
2021-03-09 22:52:16 +01:00
Sylvestre Ledru
027b7e0a52
Merge pull request #1784 from publicarray/patch-1
...
Fix install instructions
2021-03-09 22:49:23 +01:00
Felipe Lema
d1addc97cc
missing OPT_ s
2021-03-09 18:10:04 -03:00
Sebastian Schmidt
fe56f315e4
Fix install instructions
...
error: Using `cargo install` to install the binaries for the package in current working directory is no longer supported, use `cargo install --path .` instead. Use `cargo build` if you want to simply build the package.
2021-03-09 20:51:25 +00:00
Ali Shariat
54eebebff8
paste: move from getopts to clap
...
closes #1734
2021-03-09 12:46:27 -08:00
Sylvestre Ledru
a96ca1359e
Merge pull request #1772 from foxbenjaminfox/master
...
cp: implement --strip-trailing-slashes
2021-03-09 20:10:06 +01:00
Sylvestre Ledru
5996bc340c
Be more precise in the GNU license
2021-03-09 18:43:59 +01:00
Sylvestre Ledru
a6cf251a17
Add an information about the GNU's version license
2021-03-09 18:02:51 +01:00
Sylvestre Ledru
1396295877
Merge pull request #1778 from EdwardBetts/spelling
...
Correct spelling
2021-03-09 17:16:39 +01:00
Edward Betts
e1a9c19b6f
Correct spelling
2021-03-09 15:19:35 +00:00
Benjamin Fox
5446ea2abf
cp: implement --strip-trailing-slashes
2021-03-09 12:59:26 +02:00
Sylvestre Ledru
2dcc60d624
Merge pull request #1752 from drocco007/numfmt-fields
...
numfmt: implement --field
2021-03-08 19:54:01 +01:00
Daniel Rocco
0e02607dc7
numfmt: implement --field
2021-03-08 10:53:34 -05:00
Felipe Lema
75b3bc02eb
uniq
2021-03-08 12:02:46 -03:00
Felipe Lema
3e0a10d732
update wc
2021-03-08 11:50:26 -03:00
Sylvestre Ledru
200310be18
Merge pull request #1764 from sylvestre/version-0.0.4
...
Version 0.0.4
2021-03-07 12:29:34 +01:00
Sylvestre Ledru
f711027764
refresh Cargo.lock after the version
2021-03-07 12:05:16 +01:00
Sylvestre Ledru
d3c6ce0b94
add an ugly script to publish the crates
2021-03-07 11:47:17 +01:00
Sylvestre Ledru
4f5e9ecb39
refresh Cargo.lock after the version
2021-03-07 11:29:38 +01:00
Sylvestre Ledru
6ad8528b99
update of the uucore dep to 0.0.7
2021-03-07 11:29:38 +01:00
Sylvestre Ledru
8772d81236
Update to platform-info 0.1
2021-03-07 11:29:38 +01:00
Sylvestre Ledru
6481c5a247
Prepare version 0.0.4
2021-03-07 11:29:38 +01:00
Sylvestre Ledru
933ac05dc7
add an ugly script to update the version
2021-03-07 11:29:35 +01:00
Sylvestre Ledru
72e090cd83
cargo: remove an old comment
2021-03-07 11:02:46 +01:00
Chad Brewbaker
c820329efd
muted test not for windows and added windows temp file convention ( #1748 )
...
* muted test not for windows and added windows temp file convention
* Update mktemp.rs
Revert windows mktmp template difference
Co-authored-by: Chad Brewbaker <chad@flyingdogsolutions.com>
2021-03-06 18:26:55 +01:00
Daniel Rocco
d06f91fbe2
numfmt: align format output values with GNU ( #1745 )
...
When converting to SI or IEC, produce values that align with the conventions
used by GNU numfmt.
- values > 10 are represented without a decimal place, so 10000 becomes 10K
instead of 10.0K
- when truncating, take the ceiling of the value, so 100001 becomes 101K
- values < 10 are truncated to the highest tenth, so 1001 becomes 1.1K
closes #1726
2021-03-06 18:26:05 +01:00
Felipe Lema
e4d9d1868a
remove markers
...
this can be improved in the future. this branch is just the kick-off
2021-03-04 15:38:01 -03:00
Felipe Lema
975e9ea565
separate options into modules for chown
2021-03-04 15:37:27 -03:00
Sylvestre Ledru
c06967a45a
rustfmt two files
2021-02-23 20:56:41 +01:00
Alex Lyon
5935876f38
od: remove Vec::set_len() usage in InputDecoder ( #1739 )
2021-02-23 12:35:17 +01:00
Alex Lyon
7341a1a033
shred: remove usage of Vec::set_len() ( #1738 )
...
* shred: use a fixed-size array for BytesGenerator
2021-02-23 12:34:49 +01:00
Chad Brewbaker
bb54669a5d
Fix macOS aarch64 compile errors ( #1724 )
2021-02-23 10:25:06 +01:00
Alex Lyon
5431e947bc
uucore: process: fix exit status processing ( #1743 )
...
* uucore: process: fix exit status processing
* tests: timeout: check whether subcommand exit codes are returned
2021-02-23 10:21:01 +01:00
Alex Lyon
7e5d9ee32d
factor, stdbuf, timeout, uname, uptime: update dependencies ( #1746 )
2021-02-22 15:07:51 +01:00
Alex Lyon
c8977a78a4
uucore: fix potential use-after-free in utmpx iterator ( #1737 )
2021-02-19 08:38:57 +01:00
Alex Lyon
15eaaa9473
Merge pull request #1731 from jaggededgedjustice/seq-check-for-zero-step
...
Do not allow seq to run with an increment of zero
2021-02-18 18:28:35 -08:00
James Robson
0dbed0fd59
Do not allow seq to run with an increment of zero
2021-02-18 21:10:53 +00:00
Sylvestre Ledru
4bdd7a5e42
trivial(truncate): remove old comments
2021-02-18 22:05:11 +01:00
Alex Lyon
39d62c6c1f
od: remove potential unsoundness and an allocation in PartialReader ( #1730 )
2021-02-18 08:23:13 +01:00
Daniel Rocco
e2b58051e6
yes: correct a typo ( #1727 )
...
Improve readability by fixing an inadvertent rename during a performance
enhancement (b46e228
).
2021-02-16 23:40:23 +01:00
Chad Brewbaker
05d8cc59c4
bug(wc): Add a test for unexpected behavior ( #1723 )
2021-02-16 13:36:49 +01:00