dependabot[bot]
fce51cec0b
Bump bit-set from 0.4.0 to 0.5.0
...
Bumps [bit-set](https://github.com/contain-rs/bit-set ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/contain-rs/bit-set/releases )
- [Commits](https://github.com/contain-rs/bit-set/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 19:57:56 +00:00
dependabot[bot]
3eea5703bf
Bump regex-syntax from 0.5.0 to 0.6.0
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.5.0...regex-syntax-0.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 17:51:25 +00:00
dependabot[bot]
c66dd59489
Bump libc from 0.2.39 to 0.2.42
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.39 to 0.2.42.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.39...0.2.42 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 17:13:54 +00:00
Konstantin Pospelov
e9fd9d623d
join: implement option to suppress joined lines
2018-06-09 12:11:58 +03:00
Alex Lyon
2b063dd363
Merge pull request #1215 from uutils/dependabot/cargo/sha1-0.6.0
...
Bump sha1 from 0.2.0 to 0.6.0
2018-06-08 15:06:13 -07:00
dependabot[bot]
92727d3301
Bump sha1 from 0.2.0 to 0.6.0
...
Bumps [sha1](https://github.com/mitsuhiko/rust-sha1 ) from 0.2.0 to 0.6.0.
- [Release notes](https://github.com/mitsuhiko/rust-sha1/releases )
- [Commits](https://github.com/mitsuhiko/rust-sha1/compare/0.2.0...0.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-08 07:30:51 +00:00
dependabot[bot]
d1c18c01e9
Bump lazy_static from 1.0.0 to 1.0.1
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits/v1.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-08 07:30:48 +00:00
Alex Lyon
9b28029982
Merge pull request #1211 from uutils/dependabot/cargo/lazy_static-1.0.0
...
Bump lazy_static from 0.2.11 to 1.0.0
2018-06-07 09:08:24 -07:00
Alex Lyon
13aa3ede94
Merge pull request #1207 from uutils/dependabot/cargo/clippy-0.0.206
...
Bump clippy from 0.0.143 to 0.0.206
2018-06-07 08:45:23 -07:00
Alex Lyon
c814445c38
Merge pull request #1204 from uutils/dependabot/cargo/regex-syntax-0.5.0
...
Bump regex-syntax from 0.4.2 to 0.5.0
2018-06-07 08:44:07 -07:00
dependabot[bot]
c7fa56442a
Bump clippy from 0.0.143 to 0.0.206
...
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy ) from 0.0.143 to 0.0.206.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases )
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.143...v0.0.206 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 15:41:42 +00:00
dependabot[bot]
5b5aaa03c9
Bump lazy_static from 0.2.11 to 1.0.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 0.2.11 to 1.0.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 07:25:48 +00:00
dependabot[bot]
d2aa1e30d2
Bump regex-syntax from 0.4.2 to 0.5.0
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.4.2...regex-syntax-0.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 01:34:32 +00:00
dependabot[bot]
516ee396de
Bump clap from 2.31.1 to 2.31.2
...
Bumps [clap](https://github.com/kbknapp/clap-rs ) from 2.31.1 to 2.31.2.
- [Release notes](https://github.com/kbknapp/clap-rs/releases )
- [Changelog](https://github.com/kbknapp/clap-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kbknapp/clap-rs/commits/v2.31.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 01:34:24 +00:00
Alex Lyon
f25d4e1114
uucore: update data_encoding and add wrap_write()
2018-05-22 09:55:05 -07:00
Alex Lyon
4d89c2d796
Merge pull request #1197 from c-edw/master
...
mkdir: Silently fail in recursive mode if unable to create directories.
2018-05-03 02:12:24 -07:00
Connor E
62632faa63
Clean up with changes from Arcterus.
2018-05-03 08:40:01 +01:00
Alex Lyon
974f5def20
uptime: error when uptime cannot be found
2018-05-02 19:11:37 -07:00
Alex Lyon
f91c84bc05
Merge pull request #1191 from ProgVal/chmod-human-friendly
...
chmod, ls, uucore: Make chmod display human-friendly permissions
2018-05-02 15:36:35 -07:00
Valentin Lorentz
43aafd2f1c
chmod: show human-friendly permissions when --changes or --verbose is used.
...
Like GNU chmod.
2018-05-02 23:23:05 +02:00
Alex Lyon
c50e7b5bc4
Merge pull request #1189 from ProgVal/unlink-nul-terminator
...
unlink: Add a nul-terminator after the file name before calling lstat.
2018-05-02 11:45:32 -07:00
Valentin Lorentz
f06972ccfd
unlink: Use a NUL-terminated string when calling unlink().
2018-05-02 19:13:36 +02:00
Alex Lyon
2eaabae507
Merge pull request #1192 from ProgVal/chmod-unimplemented
...
chmod: Remove '(unimplemented)' from the opt help.
2018-05-02 08:50:23 -07:00
Connor E
9d5631228a
mkdir: Use std create_dir_all for recursive operations.
2018-05-01 12:42:11 +01:00
Connor E
e03ab6b554
mkdir: Silently fail in recursive mode if unable to create directories.
2018-05-01 12:07:23 +01:00
Valentin Lorentz
4ba6f13c2b
chmod: Remove '(unimplemented)' from the opt help.
...
They are implemented now.
2018-04-22 21:38:30 +02:00
Alex Jiang
58b4075566
hostname: bug fix for non-windows xgethostname and add test case
...
Cstr::from_bytes_with_nul needs input bytes null terminated. Current
version does not include the last null byte, hence
Cstr::from_bytes_with_nul will panic with error 'FromBytesWithNulError {
kind: NotNulTerminated }'
2018-04-22 21:04:51 +08:00
Valentin Lorentz
dd0d23839a
unlink: Add a nul-terminator after the file name before calling lstat.
2018-04-22 10:32:43 +02:00
Alex Lyon
b50aaf6456
du: pick format for convert_size() once and reverse UNITS (again)
2018-04-20 03:56:47 -07:00
Alex Lyon
da301be35c
du: capitalize input block size (e.g. turn 'kB' into 'KB')
2018-04-20 01:26:29 -07:00
Alex Lyon
b619e363db
du: clean up block size parsing code
2018-04-20 00:54:49 -07:00
Alex Lyon
8498e33099
Merge pull request #1176 from bootandy/du_input_refactor3
...
du: read block size environment variables
2018-04-20 00:23:53 -07:00
Konstantin Pospelov
4b8d4bfc05
join: fix autoformat
...
There was an issue with autoformat when the files had a different
number of columns in the first line. This commit fixes the issue and
extends the related test to cover this case.
2018-04-15 17:42:52 +03:00
Konstantin Pospelov
cd98478ce9
join: minor improvements
...
Move the code to get the current key into a separate function.
Replace two 'combine' functions with one defined for Input.
2018-04-15 17:33:02 +03:00
Konstantin Pospelov
7dc8ff62cc
join: support headers
2018-04-11 22:55:44 +03:00
Michael Aaron Murphy
dddc773200
[ls] Add "-1" Flag & Fix Needless Vec
2018-04-10 22:13:21 -04:00
bootandy
f1497e43ce
du: read block size environment variables
...
blocksize env variables are read if -B is not specified as a command
line argument.
blocksize is now case insensitive (like gdu).
fn translate_to_pure_number() pulled out from existing code which
populated the block size variable
2018-04-06 21:30:59 +01:00
Alex Lyon
8db47690b2
Merge pull request #1171 from bootandy/du_h
...
du -h: support GB
2018-04-05 15:41:33 -07:00
bootandy
0840c20ef4
du: support G T P E on -h
...
Allow -h (human readable form) to show sizes larger than MB
(This mimics original du behaviour)
Code refactored to remove duplication
2018-04-03 06:58:38 -04:00
Alex Lyon
87d317e22f
Merge pull request #1169 from bootandy/du
...
Fix Du mac/inodes
2018-03-28 10:33:06 -07:00
bootandy
838ce7b3e3
Fix issues raised in review
...
spelling
use POSIXLY_CORRECT and BLOCKSIZE env variables to determine block size.
move statics to const
use show_error! not show_info!
2018-03-24 18:03:34 -04:00
Alex Lyon
948dbd324e
yes: choose between throughput and latency at compile-time
2018-03-22 04:22:34 -07:00
Alex Lyon
4941604362
yes: use 16 KiB rather than 8 KiB for the buffer
2018-03-22 03:31:41 -07:00
bootandy
b6c7771087
du: Fix double counting of hard links.
...
hard linked files are no longer counted - this mimcs the behaviour of
the original du.
2018-03-20 16:59:29 -04:00
bootandy
e253406026
du: Fix incorrect block size assumption.
...
du and other tools like stat assume a 512 byte block. ls is the only
tool to use 1024.
Add Simple set of tests
2018-03-20 16:59:29 -04:00
Ian Douglas Scott
fa867e93ea
Port 'tail' to Redox
2018-03-18 22:00:00 -07:00
Ian Douglas Scott
f76b23e3df
Port 'more' to Redox
2018-03-18 18:55:42 -07:00
Ian Douglas Scott
727d4843b8
Change static to const
2018-03-16 20:14:50 -07:00
Ian Douglas Scott
187006f0d3
test: handle symlinks in main match
2018-03-16 18:47:11 -07:00
Ian Douglas Scott
301b9002ce
Port test to Redox
2018-03-16 18:39:53 -07:00
Alex Lyon
3015a19230
Merge pull request #1157 from bootandy/master
...
Fix edge case for du on mac
2018-03-15 12:26:42 -07:00
bootandy
8f67c8fef2
du: refactor to use ? shortcut
2018-03-15 14:58:21 -04:00
Ian Douglas Scott
6f4b91db93
Build hashsum, join, ln, ls, mkdir, mktemp, nl, ptx, sort on Redox
2018-03-14 22:10:28 -07:00
bootandy
be79a70572
Refactor Stat::new to return Result
...
This was to remove the double call to fs::symlink_metadata
2018-03-14 16:26:22 -04:00
Ian Douglas Scott
1471e95b22
Make the 'cat' utility build on Redox
2018-03-14 10:21:12 -07:00
bootandy
f0e25e5537
Fix edgecase for du on mac
...
When du encounters a file that cannot be read it logs an error and
continues to analysise the rest of the directory. This behaviour brings
it inline with the original du.
2018-03-13 16:05:34 -04:00
Alex Lyon
f359507b58
yes: match the speed of GNU yes (on my machine) and remove allocs
2018-03-12 21:14:52 -07:00
Alex Lyon
bd557c87fb
uucore: make features opt-in rather than opt-out
2018-03-12 20:21:38 -07:00
Alex Lyon
7b1554cc2c
whoami: switch to clap
2018-03-12 19:28:32 -07:00
Alex Lyon
155fea53b2
yes: switch to clap and try to decrease allocs
2018-03-12 16:27:21 -07:00
Alex Lyon
880a4973c1
Format everything using rustfmt
2018-03-12 01:20:58 -07:00
Alex Lyon
00a8b0b0f1
uucore: remove utsname.rs (and replace with platform-info)
2018-03-11 18:50:36 -07:00
Alex Lyon
0b70b151b8
hostname: refactor a bit
2018-03-07 03:34:04 -08:00
Alex Lyon
6330474b4f
hostname: add support for Windows (and maybe other systems too)
2018-03-06 16:40:08 -08:00
Alex Lyon
15aaa8215e
uucore: read from sys:uname on Redox
2018-03-05 17:31:33 -08:00
Alex Lyon
8ba5fae6e3
cp, tail: update winapi
2018-03-04 18:38:33 -08:00
Alex Lyon
2d798bd601
expr, sync, whoami: update Oniguruma and winapi
2018-03-04 18:07:38 -08:00
Alex Lyon
5d241da7ca
arch: add support for building on Windows
2018-03-04 17:58:16 -08:00
Alex Lyon
d8e738c49b
tests: disable some chgrp tests when part of the root group
...
Some tests failed when run using Docker because they assumed the
user would never be root. This is more of a band-aid solution.
An actual fix would be to test see if something like these tests
were to succeed when the user is root.
2018-03-03 12:04:22 -08:00
Alex Lyon
8ece01d0ef
who: fix heading in containers
2018-03-01 22:20:23 -08:00
Konstantin Pospelov
642633fe3b
join: check line order
2018-02-11 18:23:12 +03:00
king6cong
e3fedddd17
remove nightly complier warnings
2018-02-09 19:49:57 +08:00
mpkh
37f3e3a151
Merge pull request #1137 from Arcterus/realpath-relpath-fix
...
realpath, relpath: fix on stable and beta (whoops)
2018-01-18 10:36:41 +04:00
Alex Lyon
91b7ae44d6
realpath, relpath: fix on stable and beta (whoops)
2018-01-17 15:35:42 -08:00
Konstantin Pospelov
186cb8853f
join: fix code formatting
2018-01-17 23:26:00 +03:00
Konstantin Pospelov
128a38965e
join: support custom empty filler
2018-01-17 23:26:00 +03:00
mpkh
2db220e820
Merge pull request #1136 from Arcterus/realpath-relpath-fix
...
Fix build on nightly
2018-01-17 12:12:02 +04:00
James McCoy
c82e94cae5
stat: Remove hard-coded path for mount information
2018-01-16 20:48:03 -05:00
James McCoy
81eef5dabf
stat: Avoid parsing mount info when showing filesystem info
2018-01-16 20:47:52 -05:00
Alex Lyon
e9f32fe170
realpath, relpath, tests: fix build on nightly
2018-01-16 15:11:46 -08:00
Bulat Musin
cc66229f16
add #[allow(unused_imports)] to std::ascii::AsciiExt
...
explicit import of std::ascii::AsciiExt is deprecated since 1.23
2018-01-08 11:32:38 +03:00
Konstantin Pospelov
12c5c951fb
join: implement the -o option
2018-01-06 22:49:07 +03:00
Alex Lyon
49cf7c2a5b
Merge pull request #1127 from bltnkl/echo_refine
...
Slight improvements to echo
2018-01-06 10:38:46 -08:00
Bulat Musin
ec543508bc
echo: refactor slightly
2018-01-06 17:05:04 +03:00
Bulat Musin
26ad240572
echo: reorder of match patterns
...
People write \n \t and \r \v much more
often than other escape sequences, so
it makes more sense to optimise for common
case, as match scans from top to bottom.
2018-01-06 17:01:50 +03:00
Bulat Musin
7ebda2de44
echo: rewrite two functions as closures
2018-01-06 17:01:24 +03:00
Bulat Musin
6afddc4d6a
tail: squashed two commits
...
commit ceaeb5ec2a284555e6c061070c74b050efb129f0
Author: Bulat Musin <bulatmusin@outlook.com>
Date: Thu Jan 4 11:01:29 2018 +0300
tail: fix typo
commit 50e3568e460c7ec9786835c9795d1496a2463901
Author: Bulat Musin <bulatmusin@outlook.com>
Date: Thu Jan 4 10:54:17 2018 +0300
collapse similar changes into one commit
commit a54df8d92d534b801b364c2e74635dfe282441d8
Author: Bulat Musin <bulatmusin@outlook.com>
Date: Wed Jan 3 21:05:33 2018 +0300
tail: add --silent option
commit 5c9aec7e5bb5ff79f1421e5b33bf82809795bc64
Author: Bulat Musin <bulatmusin@outlook.com>
Date: Wed Jan 3 20:43:36 2018 +0300
tail: add spaces after hashes
2018-01-06 16:49:23 +03:00
Alex Lyon
3eee1b9ad6
Merge pull request #1074 from Heather/pwd_lp
...
pwd: add support for -L and -P options
2017-12-30 23:53:01 -08:00
Alex Lyon
ffc3c1d262
Merge pull request #1087 from ProgVal/faster-yes
...
Make 'yes' 1000 times faster.
2017-12-30 23:40:20 -08:00
Alex Lyon
cf7582cbd2
stdbuf: make build more reliable and allow installation using Cargo
2017-12-29 23:25:51 -08:00
Alex Lyon
feaae12d0a
cp: lock winapi to 0.2 for now
2017-12-29 03:31:13 -08:00
Alex Lyon
4deef05880
stdbuf: fix build warning
2017-12-28 22:12:44 -08:00
Alex Lyon
8ed383941d
Add Sphinx documentation to generate man pages
2017-12-28 22:02:58 -08:00
Alex Lyon
6d61b6805d
Merge pull request #1113 from tsliang/master
...
uname: change sysname flag to kernel-name
2017-12-27 03:23:40 -08:00
Tai Sassen-Liang
e79f5277ed
uname: add missing paren
2017-12-27 11:57:06 +01:00
Tai Sassen-Liang
5d4e404765
uname: convert to clap; support obsolete option aliases
2017-12-27 11:29:06 +01:00
Alex Lyon
bc6d748a9e
Merge pull request #1119 from KeenS/install-ignore--c
...
install: ignore -c option for compatibility
2017-12-27 02:29:04 -08:00
Tai Sassen-Liang
c210d8d8c9
uname: change sysname flag to kernel-name
...
The --sysname flag in GNU uname was deprecated in 2002 and replaced by --kernel-name.
2017-12-27 11:24:29 +01:00
Sunrin SHIMURA (keen)
956a6aa1fb
install: ignore -c option for compatibility
2017-12-27 17:52:53 +09:00
Sunrin SHIMURA (keen)
ee34206520
install: allow to install a file to a file
2017-12-27 17:31:19 +09:00