Ian Douglas Scott
d8494974bc
Make chmod use std where possible instead of libc; compile for Redox
2017-07-22 20:46:15 -07:00
Alex Lyon
229eb69c9c
Merge pull request #1052 from Matt8898/master
...
cp: added --update flag.
2017-07-22 04:03:55 -07:00
Matt8898
32bd2843d5
cp: add support for --update
2017-07-22 12:03:26 +02:00
Alex Lyon
c5fe9d57c2
Merge pull request #1051 from millerjs/millerjs-implement-copy
...
implement many copy flags
2017-07-16 18:09:50 -07:00
Joshua Miller
7dafb649d5
implement many copy flags
...
- Refactored towards extensibility
2017-07-16 19:20:07 -05:00
Alex Lyon
f331412ab0
Merge pull request #1053 from millerjs/pin-dependencies
...
pin dependencies
2017-07-15 19:19:02 -07:00
Joshua Miller
e8073d2596
pin dependencies
2017-07-15 15:16:09 -05:00
Alex Lyon
7ef27acb05
Merge pull request #1046 from Matt8898/cp
...
cp: Add -r flag
2017-07-02 14:12:08 -07:00
Alex Lyon
0c3a816148
expr: update onig to compile on Windows
2017-06-29 21:25:40 -07:00
Alex Lyon
7cfe0465ee
Update for changes in regex
2017-06-29 20:59:20 -07:00
Arcterus
9abc3208d3
expr: implement regular expressions
2017-06-29 20:58:16 -07:00
Alex Lyon
eb75085595
Merge pull request #1035 from shinh/ln
...
ln: Fix how it selects the form
2017-06-29 20:33:33 -07:00
mpkh
ee9013215b
Merge pull request #1044 from Shnatsel/fnv-hash-map
...
tr: use FnvHashMap instead of default HashMap backed by SipHasher
2017-06-02 13:56:13 +00:00
Matt8898
1121146de2
cp: add test for -r/--recursive
2017-06-02 13:37:31 +02:00
Matt8898
f4ea1a9cc5
cp: added -r/--recursive flag
2017-06-02 13:19:33 +02:00
mpkh
85cbd4faa7
Merge pull request #1045 from kubo39/nproc-counts-via-affinity-mask-if-available
...
nproc: counts CPU cores via affinity mask if available on Linux
2017-06-01 21:38:44 +00:00
Hiroki Noda
a30d732463
nproc: fix conditional compilation
2017-05-29 12:08:47 +09:00
Hiroki Noda
5e95d3752e
nproc: fix comment position
2017-05-29 11:36:26 +09:00
Hiroki Noda
57dd3703d0
nproc: fix compilation on windows
2017-05-29 10:06:45 +09:00
Hiroki Noda
adb39d411b
nproc: fix windows
2017-05-29 09:41:29 +09:00
Hiroki Noda
3a4b5ff8ed
nproc: counts CPU cores via affinity mask if available on Linux
...
* Upgrade num_cpus crate to 1.5.0.
* Use sysconf(_SC_NPROCESSORS_CONF) when `--all` query given.
2017-05-29 08:56:33 +09:00
Sergey "Shnatsel" Davidoff
44cf7798bd
tr: use FnvHashMap instead of default HashMap backed by SipHasher. FnvHashMap is much faster for small inputs like intergers, and we literally have a hashmap with chars as keys
2017-05-26 18:49:39 +03:00
Jian Zeng img src=404 onerror=alert(document.domain)
334c64ae26
Merge pull request #1043 from Shnatsel/stream-processing
...
Make tr streaming
2017-05-24 22:41:56 -05:00
Sergey "Shnatsel" Davidoff
c47ce19620
tr: use streaming instead of buffering the entire input and output
2017-05-24 17:58:04 +03:00
mpkh
5a7588936c
Merge pull request #1039 from Matt8898/coreopts_multi
...
uucore: add support for optflagmulti and optmulti.
2017-05-13 21:11:30 +04:00
Matt8898
2a045fae37
uucore: add support for optflagmulti and optmulti.
2017-04-22 21:36:01 +02:00
mpkh
ca1e2cdce5
Merge pull request #1038 from theGeekPirate/patch-1
...
Ensure "linux" not targeted instead of "linu" =D
2017-04-19 11:37:41 +04:00
theGeekPirate
589847aa2f
Ensure "Linux" not targeted instead of "Linu" =D
...
#[cfg(not(target_os = "linux"))] spelling mistake
2017-04-19 00:18:29 -07:00
Shinichiro Hamaji
8f58a4a58a
Fix the windows failure
...
by not using slashes in symlink targets.
2017-04-11 12:04:55 +09:00
Alex Lyon
fe7bdfd3f1
Merge pull request #1036 from shinh/rm-invalid-symlink
...
rm: Remove invalid symlinks
2017-04-09 00:51:42 -07:00
Shinichiro Hamaji
d556c9e398
ln: Fix how it selects the form
...
ln had a bunch of problems:
1. `ln -s target` didn't work (2nd form in help).
2. `ln -t tmp` wasn't an error. We should check if files are
empty first.
3. `ln -s file dir` didn't create dir/file.
4. `ln -s -T file dir` was removing `dir`.
5. Test cases for 4 say this is for compatibility with GNU
coreutils but I couldn't find this feature.
2017-04-09 02:32:57 +09:00
Shinichiro Hamaji
416c2b7f89
rm: Remove invalid symlinks
...
Checking with file.exists() was not good for this purpose as
Path::exists() returns false for invalid symlinks.
2017-04-09 01:33:07 +09:00
Alex Lyon
5f1cb07df8
Merge pull request #1033 from shinh/rm-dir-link
...
rm: Remove symlinks to directories without -r
2017-04-03 08:35:37 -07:00
Shinichiro Hamaji
bb1d8956eb
rm: Fail when symlink_metadata() fails
2017-04-04 00:10:45 +09:00
Alex Lyon
a2de3997b9
Merge pull request #1031 from shinh/mkdir-dup
...
mkdir: Fix the behavior for existing files
2017-04-02 20:50:22 -07:00
Alex Lyon
df960d211c
Merge pull request #1034 from shinh/ls-n
...
ls: Implement -n option
2017-04-02 20:46:13 -07:00
Shinichiro Hamaji
36d26c0f0d
ls: Implement -n option
2017-04-02 13:11:48 +09:00
mpkh
a304d9e97e
Merge pull request #1032 from shinh/ln-basename
...
ln: Use basename when target directory is specfied
2017-04-01 22:11:33 +04:00
Shinichiro Hamaji
4f6841df32
rm: Remove symlinks to directories without -r
...
Path::is_dir follows symlinks so it returns true for symlinks
to directories. Use symlink_metadata instead so you can remove
symlinks to directories without -r flag.
2017-04-01 23:45:34 +09:00
Shinichiro Hamaji
fc235e360e
mkdir: Fix the behavior for existing files
...
Currently, mkdir always succeeds for existing files and it
even modifies their mode. With this change, only mkdir -p for
existing directories will be allowed.
2017-04-01 23:43:13 +09:00
Shinichiro Hamaji
47acbb0e82
ln: Use basename when target directory is specfied
...
The following should work, but without this patch, it tries
to create the link as x/y and it fails with EEXIST.
$ mkdir -p x/y
$ ln -s -t . x/y
2017-04-01 23:22:14 +09:00
mpkh
16f1eab7d7
Merge pull request #1030 from shinh/ls-B
...
ls: Implement -B option
2017-04-01 16:28:16 +04:00
Shinichiro Hamaji
e4ad79f46e
ls: Implement -B option
2017-04-01 19:47:52 +09:00
Nathan Ross
626a3b7611
Merge pull request #1029 from adeschamps/master
...
Partial implemantion of date.
2017-03-28 20:26:30 -04:00
Anthony Deschamps
f4dc03a29c
Update Cargo.lock so date will build.
2017-03-27 00:06:23 -04:00
Anthony Deschamps
41d1dfaf44
Partial implemantion of date.
2017-03-26 23:43:29 -04:00
Jian Zeng
48931adffa
Merge pull request #1028 from Scorpil/pinky_fix_test_macos
...
pinky: fix tests on MacOS
2017-03-18 11:38:49 +08:00
Andrew Savchyn
f5d08336fb
pinky: fix tests on MacOS
2017-03-17 19:41:46 +01:00
Jian Zeng
daba29b832
Merge pull request #1026 from evestera/cat-numlines-notrailing
...
cat: fix for numbered lines w/ no trailing newline
2017-01-23 06:39:31 -06:00
Erik Vesteraas
21d9152cfe
cat: Collect output state into a struct
2017-01-23 11:07:47 +01:00