Roy Ivy III
6e77f99f61
Merge pull request #1507 from sylvestre/id
...
add/id ~ long option variant and tests
2020-05-10 12:21:07 -05:00
Sylvestre Ledru
a83fe2f098
Merge pull request #1508 from muskuloes/master
...
Flush output buffer for expand/unexpand commands
2020-05-09 21:17:58 +02:00
muskuloes
c84f89257e
fix clippy warning: extract function
2020-05-09 19:28:13 +02:00
muskuloes
b4752e079f
flush output of unexpand command as well
2020-05-09 19:28:13 +02:00
muskuloes
fb8f3ebf96
expand: flush output buffer
2020-05-09 19:28:13 +02:00
Sylvestre Ledru
91ac5343db
remove artifact
2020-05-09 10:23:03 +02:00
Sylvestre Ledru
9fb00df9b3
test(id): add tests for id
2020-05-09 00:14:10 +02:00
Sylvestre Ledru
90dfa70bd3
feature(id): add --user, --group & --groups
2020-05-09 00:07:04 +02:00
Sylvestre Ledru
614bcde9ea
Merge branch 'elgris-sort_impl'
2020-05-08 01:09:43 +02:00
Sylvestre Ledru
437e3aeab7
style(sort): Fix a clippy warning
2020-05-07 23:13:11 +02:00
elgris
71ba8b3fd6
sort: add "dictionary-order" flag.
...
The flag makes 'sort' command ignore non-dictionary symbols
(non-alphanumeric and non-spaces). The only difference with GNU sort is
that it takes ALL alphanumeric symbols, not only ASCII ones.
2020-05-07 23:08:24 +02:00
Sylvestre Ledru
f44e5465b8
cleanup(yes, whoami): remove some old workaround to force cargo rebuilds
2020-05-06 23:39:49 +02:00
Sylvestre Ledru
16bf4b1893
test(arch): Add some tests
2020-05-06 00:39:13 +02:00
Sylvestre Ledru
9b0129716f
test(fmt): Add some tests for fmt
...
Even if it is a bit broken for now
2020-05-06 00:38:22 +02:00
Sylvestre Ledru
a93d007cde
test(uname): Add a test for the -o/--operating-system flag
2020-05-05 13:37:33 -05:00
Sylvestre Ledru
47fefae5f6
Merge branch 'E5ten-patch-4'
2020-05-05 13:23:45 +02:00
E5ten
2a61fc7f72
feature(uname): Add -o/--operating-system flag
...
The code for the flag already existed it had just not been added to the argument parsing. Replace "print the operating system name." in -s help text with "print the kernel name." so the -o option can use the previous -s help text.
2020-05-05 13:23:42 +02:00
E5ten
9fe49bf1bc
feature(uname): Add -o/--operating-system flag
...
The code for the flag already existed it had just not been added to the argument parsing. Replace "print the operating system name." in -s help text with "print the kernel name." so the -o option can use the previous -s help text.
2020-05-05 13:23:09 +02:00
Roy Ivy III
4b7e122adc
Merge pull request #1497 from sylvestre/test_users
...
test(users): add tests
2020-05-04 22:21:35 -05:00
Sylvestre Ledru
ce047e8330
test(users): Introduce two tests
2020-05-04 15:12:38 -05:00
Roy Ivy III
94aa201ee5
Merge pull request #1499 from rivy/fix.style-cat
...
refact/cat ~ fix style issues
2020-05-04 13:36:07 -05:00
Roy Ivy III
ab0ef90b4a
refact/cat ~ fix style issues
2020-05-04 13:04:02 -05:00
Sylvestre Ledru
b1d06a9b58
Merge branch 'phungleson-fix-cat'
2020-05-04 13:15:54 +02:00
Sylvestre Ledru
6294736d79
Merge branch 'fix-cat' of https://github.com/phungleson/coreutils into phungleson-fix-cat
2020-05-04 13:09:21 +02:00
Sylvestre Ledru
7e3f32d4db
style(df): rustfmt src/uu/df/src/df.rs
2020-05-04 10:56:16 +02:00
Sylvestre Ledru
06fe387c76
Merge pull request #1495 from orottier/wc
...
wc: Do not decode UTF8 when only counting bytes/newlines
2020-05-04 10:54:18 +02:00
Otto Rottier
dab1b9ba1a
rustfmt src/uu/wc/src/wc.rs
...
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2020-05-04 07:45:30 +02:00
Roy Ivy III
30c14f1025
Merge pull request #1492 from sylvestre/test_printenv
...
test(printenv): add some tests
2020-05-03 15:15:43 -05:00
Roy Ivy III
f12c27a57d
Merge pull request #1487 from sylvestre/df-human
...
refactor and fix some `df` build and cosmetic issues
2020-05-03 15:15:14 -05:00
Roy Ivy III
23b49101c0
fix/df ~ fix build script for sub-crate builds
2020-05-03 14:54:57 -05:00
Roy Ivy III
81d85f398b
fix/df ~ missing windows imports
2020-05-03 14:54:57 -05:00
Roy Ivy III
091a356807
fix/df ~ correct number suffix display by using number_prefix PrefixNames::symbol()
2020-05-03 14:53:13 -05:00
Otto Rottier
e3bd6b6848
wc: Do not decode UTF8 when only counting bytes/newlines
2020-05-03 20:39:09 +02:00
Sylvestre Ledru
fc83024ebe
refactor(df): use number_prefix like 'ls' instead of doing the display by hand
2020-05-03 13:29:55 -05:00
Sylvestre Ledru
bee8ab744e
test(printenv): add some tests
2020-05-03 13:24:47 -05:00
Roy Ivy III
78dc71630c
Merge pull request #1490 from sylvestre/uname
...
Add `uname` test + doc update regarding testing
2020-05-03 13:00:21 -05:00
Roy Ivy III
eb1ba77de1
Merge pull request #1491 from sylvestre/date2
...
`date` refresh + added tests
2020-05-03 12:59:15 -05:00
Sylvestre Ledru
90de33d5d7
maint/df: relax the dependencies
2020-05-03 12:27:55 -05:00
Sylvestre Ledru
1f1edc5a33
test(date): add tests
2020-05-03 12:26:17 -05:00
Sylvestre Ledru
850bd9c32d
fix(date): fix the date
...
Date didn't work out of the box.
Refactor it a bit to match other programs
2020-05-03 12:26:17 -05:00
Sylvestre Ledru
dfb36897cc
docs(cargo): explain that platform specific tests aren't executed by default
2020-05-03 12:18:28 -05:00
Sylvestre Ledru
4c1774e918
test(uname): Add uname tests
2020-05-03 12:18:28 -05:00
Roy Ivy III
ecfb42ba6c
Merge pull request #1488 from sylvestre/df-path
...
feat(df): Add the support of path for df (eg, `df /boot`)
2020-05-03 12:16:39 -05:00
Roy Ivy III
2d5d0680d8
fix(df) ~ fix lint complaint (unused import)
2020-05-03 12:00:42 -05:00
Sylvestre Ledru
8d1f0edfc4
refact(df): follow the same directory pattern than the other software
2020-05-03 11:51:33 -05:00
Sylvestre Ledru
c85756e509
fix(df): Linux: Fix the mount path and type
2020-05-03 11:51:33 -05:00
Sylvestre Ledru
8f6770401d
feat(df): Add the support of path for df. ex: df /boot
2020-05-03 11:51:33 -05:00
Sylvestre Ledru
c5a26810cb
Merge pull request #1494 from rivy/add.make-tasks
...
Add/polish `cargo make` tasks
2020-05-03 18:14:27 +02:00
Roy Ivy III
78d4bb42e9
maint/build ~ add 'release' and 'debug' mode notations to tasks and help
2020-05-03 10:49:39 -05:00
Roy Ivy III
d752d9880b
maint/build ~ improve format and readability of (cargo make
) 'help' target
2020-05-03 09:23:31 -05:00