Commit graph

2557 commits

Author SHA1 Message Date
shutefan
e1d41b84f3 travis: fix compiler warnings for 1.22 2017-10-06 00:49:43 +02:00
Alex Lyon
618531b366 Merge pull request #1079 from shutefan/add-quiet-flag-to-tail
tail: suppress headers when --quiet flag is used
2017-10-05 14:43:12 -07:00
Alex Lyon
a0c410832f Merge pull request #1075 from ids1024/expr-regex
Merge #1007 (regex support for expr) with latest master
2017-10-05 14:18:11 -07:00
shutefan
bf2a591b0a tail: suppress headers when --quiet flag is used 2017-10-05 21:25:21 +02:00
shutefan
82d6d24a97 cp: cast st_ino and st_nlink to u64 2017-10-05 20:34:08 +02:00
shutefan
83d25c0c70 cp: cast nNumberOfLinks to u64 2017-10-04 23:17:11 +02:00
shutefan
c20ce9bf74 cp: fix compiler warnings
Fixes seven compiler warnings in cp.rs:
- unused imports: `c_char`, `c_int`
  -> removed
- value assigned to `inode` is never read
  -> no more default value, immutable
- value assigned to `nlinks` is never read
  -> no more default value, immutable
- unused variable: `src_path`
  -> removed
- unused `std::result::Result` which must be used
  -> only in error on unsupported platforms (Windows) which is
     already handled with #[cfg(unix)]
- variable `preserve_context` is assigned to, but never used
  -> removed
- value assigned to `preserve_context` is never read
  -> see above, remove
2017-10-04 21:43:06 +02:00
Ian Douglas Scott
1a28a48ca3
Merge branch 'master' into expr-regex 2017-10-01 10:09:06 -07:00
Alex Lyon
ab259194f3 Merge pull request #1066 from Matt8898/master
cp: add support for --attributes-only and setting timestamps, links and xattrs
2017-10-01 01:43:09 -07:00
mpkh
ac6c8e2794 Merge pull request #1073 from ykrivopalov/tr_improvement
Improve tr
2017-09-29 17:10:26 +04:00
Yury Krivopalov
ac375d8b7d tr: add squeeze option 2017-09-21 22:15:05 +03:00
Yury Krivopalov
b4d8265a07 tr: generaze translation 2017-09-21 22:15:01 +03:00
Yury Krivopalov
c59e375c7a tr: use as_bytes on whole output string
On my environment on 1MiB file with this fix tr takes 30ms,
instead of 44ms without fix.
2017-09-21 22:14:56 +03:00
Matt8898
e33de238ca cp: add support for --preserve=all. 2017-09-13 16:21:33 +02:00
Matteo Semenzato
6476f6e616 cp: add support for preserving links on windows. 2017-08-23 15:20:23 +02:00
Matt8898
f7072b7dfe cp: add support for preserving links on unix. 2017-08-19 13:43:37 +02:00
Matt8898
4cb727f80b cp: Add support for preserving xattrs. 2017-08-19 13:42:44 +02:00
Matt8898
6d3e9eabe4 cp: add support for --preserve. 2017-08-19 13:42:44 +02:00
Matt8898
38dd8c5836 cp: use filetime to set timestamps. 2017-08-19 13:42:44 +02:00
Matt8898
03432db951 Added support for preserving timestamps. 2017-08-19 13:42:44 +02:00
Matt8898
48ae9b64ba cp: add support for --attributes-only. 2017-08-19 13:42:44 +02:00
mpkh
ea43608ab8 Merge pull request #1070 from ids1024/install-verbose
install: Fix verbose mode
2017-08-15 09:16:27 +04:00
Ian Douglas Scott
2853905ebc
install: Fix verbose mode
- Do not mark as unimplemented
- Use ascii quotes
- Print newline
2017-08-14 13:16:50 -07:00
Alex Lyon
284e672f82 Merge pull request #1069 from ids1024/redox
Redox fixes for mktemp and install
2017-08-13 21:29:26 -07:00
Ian Douglas Scott
79d5d14d11
Make install work on Redox, by using fs::set_permissions
This is the same change I made earlier to chmod
2017-08-12 15:20:50 -07:00
Ian Douglas Scott
de4bee2321
mktemp fix for Redox 2017-08-12 15:17:37 -07:00
Alex Lyon
71e8d7ad98 Merge pull request #1068 from ids1024/cp
Correct behavior of cp -r with non-existent dest
2017-08-10 19:11:55 -07:00
Ian Douglas Scott
b92c6edf14
Fix cp -r test 2017-08-10 16:04:25 -07:00
Alex Lyon
7b01609a2a Merge pull request #1065 from penguwin/README
README: Moved 'date' into the 'Semi-Done' section.
2017-08-10 02:53:12 -07:00
Ian Douglas Scott
13d97ee1cc
Correct behavior of cp -r with non-existent dest 2017-08-09 15:35:13 -07:00
penguwin
7421f7c6aa README: Moved 'date' into the 'Semi-Done' section.
'date' has been partially implemented into the coreutils. According to
this I decided to move 'date' into the 'Semi-Done' section from the
readme utilities chart.
2017-08-06 20:54:18 +02:00
Alex Lyon
e86a4d021a Merge pull request #1 from ids1024/expr-regex
Fix onig build on appveyor msvc
2017-08-04 12:29:25 -07:00
Ian Douglas Scott
642f67c973
Fix onig build on appveyor msvc 2017-08-04 11:34:52 -07:00
Alex Lyon
c827795d17 Merge pull request #1056 from Matt8898/master
cp: add support for --reflink.
2017-07-28 23:34:47 -07:00
Matt8898
a73c74ecbc cp: add support for --reflink. 2017-07-28 10:42:21 +02:00
mpkh
11c3eff52e Merge pull request #1062 from Arcterus/table-utils
Format list of complete and incomplete utils as a table
2017-07-27 14:30:11 +04:00
Alex Lyon
2c02fd3f0c Format list of complete and incomplete utils as a table 2017-07-27 00:56:31 -07:00
mpkh
61b15f5c1c Merge pull request #1061 from Arcterus/ls-fix
ls: fix line that was forgotten in #1057
2017-07-27 11:40:08 +04:00
mpkh
678cb5f81a Merge pull request #1060 from Arcterus/rm-refactor
rm: massive refactor
2017-07-27 11:29:04 +04:00
Alex Lyon
86aa1eb47a ls: fix line that was forgotten in #1057 2017-07-27 00:09:42 -07:00
mpkh
6ca9682845 Merge pull request #1059 from Arcterus/loc
Add LOC counter to README
2017-07-27 10:37:07 +04:00
Alex Lyon
b39689ac37 rm: massive refactor 2017-07-26 23:21:23 -07:00
Alex Lyon
4a5b76f678 Merge pull request #1057 from ids1024/ls
Fix ordering of ls -t, which was backwards
2017-07-26 21:18:00 -07:00
Ian Douglas Scott
3c3f5ab2a3
Fix ordering of ls -t, which was backwards 2017-07-26 20:57:44 -07:00
Alex Lyon
3d34d06a1e Add LOC counter to README 2017-07-26 19:43:21 -07:00
Alex Lyon
cbba518ef5 Merge pull request #1058 from ids1024/redox-ls
Make ls build on Redox
2017-07-26 19:07:58 -07:00
Ian Douglas Scott
b9446c0766
Make ls build on Redox 2017-07-25 16:26:36 -07:00
Alex Lyon
f4f80f0231 Merge pull request #1054 from ids1024/chmod
Make chmod use std where possible instead of libc; compile for Redox
2017-07-23 17:55:31 -07:00
Ian Douglas Scott
99af79a7fa
Cast umask result, and comment about Redox 2017-07-23 17:28:16 -07:00
Ian Douglas Scott
d8494974bc
Make chmod use std where possible instead of libc; compile for Redox 2017-07-22 20:46:15 -07:00