Commit graph

2895 commits

Author SHA1 Message Date
Arcterus
f628e70d4a tr: improve speed slightly 2014-11-30 20:03:44 -08:00
skv
388f6e3cf8 fix 32-bit kernel uptime error
error: mismatched types: expected `i64`, found `i32` (expected i64,
found i32)
2014-11-30 16:20:18 +03:00
Arcterus
31111ac199 Fix most deprecation warnings and remove hacky nohup code 2014-11-28 14:49:22 -08:00
dokaptur
e149be492d tail: print bytes as char instead of u8 2014-11-25 19:13:21 +01:00
Arcterus
9a281adc1e wc: boost speed to be nearly as fast as GNU 2014-11-23 21:57:33 -08:00
Arcterus
9b068aafee sort: implement --reverse 2014-11-22 13:41:57 -08:00
Arcterus
ca82145f95 seq: allow inputs to have a unary plus 2014-11-22 13:20:23 -08:00
Arcterus
d47a174954 fold: actually print out empty lines 2014-11-22 13:18:14 -08:00
Arcterus
d50d4f54b9 Fix build as well as most deprecation warnings 2014-11-22 13:00:42 -08:00
Michael Gehring
2027a7a981 fix *write*! macro args 2014-11-22 07:30:18 +01:00
Michael Gehring
ab344d8e7c remove references to the native crate 2014-11-22 07:30:18 +01:00
Michael Gehring
cb4b5bce29 Remove now invalid format specifiers 2014-11-22 07:30:18 +01:00
Michael Gehring
92093644bb chmod: fix build on freebsd 2014-11-20 20:36:50 +01:00
Michael Gehring
e874d09216 std:num::pow -> std::num::Int::pow 2014-11-19 21:58:16 +01:00
Michael Gehring
fd2b464a6d std::os changes 2014-11-19 21:58:16 +01:00
Michael Gehring
09f223fdb1 Update for new coercion rules 2014-11-19 21:58:16 +01:00
Michael Gehring
cd409c6d3f Update for namespaced enums 2014-11-19 21:58:16 +01:00
skv
737db500a3 update from string for new api 2014-11-17 17:56:00 +03:00
Michael Gehring
d675ec75af du, fmt: fix build 2014-11-16 16:12:01 +01:00
Arcterus
fc76684f08 nohup: fix for latest Rust using terrible hacks 2014-11-12 11:03:07 -08:00
Arcterus
a672f5c768 chmod: update for latest Rust 2014-11-10 20:11:48 -08:00
Michael Gehring
00af7faee8 du: fix build 2014-11-09 16:30:05 +01:00
Michael Gehring
f3fc1b72ff os::errno returns uint now 2014-11-09 16:30:01 +01:00
Michael Gehring
e7b247de0b Fix deprecation warnings 2014-11-08 07:45:33 +01:00
Michael Gehring
bb69e46def basename: fix build 2014-11-07 12:10:33 +01:00
Michael Gehring
47d4b69c8a std::num::parse_bytes has been removed 2014-11-05 12:18:43 +01:00
Michael Gehring
241c8d0f55 Update collection paths/names 2014-11-04 07:30:39 +01:00
Michael Gehring
51d84b85cb shuf: fix build
It's no longer possible to have a Box<rand::Rng> due to the new object
safety rules. Wrap in an enum as a workaround.
2014-11-03 19:59:23 +01:00
Michael Gehring
f141f8b043 comm: fix build
It's no longer possible to have a Box<Buffer> due to the new object
safety rules. Wrap in an enum as a workaround.

Fixes #437
2014-11-03 18:07:14 +01:00
Michael Gehring
71c9797bd7 Fix get_mut deprecation warnings 2014-11-02 17:10:35 +01:00
Michael Gehring
476bdcd9d2 head, tail, uutils: fix build 2014-11-02 16:56:00 +01:00
Alex Lyon
03f26845d7 Merge pull request #432 from awestroke/more_mv_test_cases
More mv tests and use cases
2014-10-31 01:30:54 -07:00
Michael Gehring
3244416b19 fail! -> panic! 2014-10-30 10:06:47 +01:00
Orvar Segerström
019abb993e More mv tests and use cases 2014-10-30 08:47:26 +01:00
Alex Lyon
3ee7627c6c Merge pull request #427 from awestroke/feature_mv
MV implementation
2014-10-26 13:27:10 -07:00
Orvar Segerström
beba02757e MV implementation
Support for all commandline options except one, see src/mv/mv.rs

Many tests, included a todo list of more tests too, see tests/mv.rs
2014-10-26 11:27:28 +01:00
Heather
e3873904a9 Merge pull request #430 from Arcterus/nproc
nproc: support --all and --ignore and respect OMP_NUM_THREADS
2014-10-26 09:22:19 +04:00
Heather
b02f9a9671 Merge pull request #428 from Arcterus/chmod
Implement most of chmod
2014-10-26 09:21:20 +04:00
Arcterus
58f158de97 nproc: support --all and --ignore and respect OMP_NUM_THREADS 2014-10-25 22:10:47 -07:00
Heather
2ad86775d8 Merge pull request #429 from Arcterus/fix-master
cut: fix deprecation warnings
2014-10-26 07:47:00 +03:00
Arcterus
894daea5c1 cut: fix deprecation warnings 2014-10-25 21:28:24 -07:00
Arcterus
7abc6c007a Implement most of chmod 2014-10-25 20:32:40 -07:00
Michael Gehring
09af3ecaa2 add nproc 2014-10-25 17:33:09 +02:00
Michael Gehring
3ecf41cffe Drop BigInt support from test 2014-10-21 14:13:44 +02:00
Michael Gehring
5051a231dc uniq: fix build 2014-10-21 13:39:36 +02:00
Michael Gehring
f771d5dbc3 tee: fix build 2014-10-21 13:36:10 +02:00
Arcterus
053bad9a25 Get rid of warnings 2014-10-19 11:54:17 -07:00
Alex Lyon
ea5d67f8dc Merge pull request #420 from skv-headless/move_util
move utility
2014-10-19 11:50:15 -07:00
skv
9f20647984 move_util 2014-10-19 22:41:11 +04:00
Michael Yin
bde6d8d643 basic byte and numeric sort
tests for numeric sort
2014-10-18 18:33:18 -04:00
Arcterus
88ad6710f5 test: fix -a and -o by using operator precedence 2014-10-17 17:08:18 -07:00
Michael Gehring
ff8275a3cc uniq: crate_id -> crate_name 2014-10-11 18:02:51 +02:00
Michael Gehring
e482abb630 static -> const 2014-10-10 18:36:35 +02:00
Michael Gehring
861baaf584 'final' is a keyword now 2014-10-10 18:36:15 +02:00
Arcterus
0e4e8f14d6 Make test pass all of the Busybox tests 2014-10-06 22:16:07 -07:00
ssirai
681022a2ca Change tab to spaces 2014-10-05 10:09:52 +09:00
Michael Gehring
7eefe7003b Update to the new cfg syntax 2014-10-02 19:55:06 +02:00
NODA, Kai
c41250f69e cat: range pattern now should use three dots. 2014-10-02 22:42:30 +08:00
Arcterus
8ede3fa0dc Pass the Busybox's Unicode test for fold 2014-09-28 22:51:24 -07:00
Arcterus
573ca2931b Fix fold for Busybox tests (other than unicode) 2014-09-28 18:12:47 -07:00
Arcterus
ba0177c824 Allow test to be checked by the Busybox test suite 2014-09-27 20:17:34 -07:00
Arcterus
afabebe432 Fix wc output for bytes 2014-09-27 15:24:10 -07:00
Michael Gehring
5af66af015 Fix deprecation warnings 2014-09-27 21:05:36 +02:00
Arcterus
d17d388e2b Modify tail to pass some Busybox tests 2014-09-25 23:16:58 -07:00
Michael Gehring
d159acff2e Fix typo (and macos build?) 2014-09-25 09:45:49 +02:00
Heather
e3b8754919 update deprecated parts of sync 2014-09-24 09:28:31 +04:00
Heather
4e1aab25c3 update whoami syntax for windows 2014-09-24 08:58:54 +04:00
Michael Gehring
4618aa99bc id: add missing repr(C) 2014-09-24 00:42:25 +02:00
Michael Gehring
1dc57eb329 Fix deprecation warnings 2014-09-24 00:41:15 +02:00
Michael Gehring
029293ad0e fmt: fix build 2014-09-23 19:56:06 +02:00
Michael Gehring
78c6d0b383 FreeBSD support 2014-09-23 15:40:31 +02:00
Heather
421ad316b5 Merge pull request #393 from ebfe/rfc-52
Update for rust RFC 52 changes
2014-09-18 02:23:35 +04:00
Michael Gehring
2ef74e2783 Update for rust RFC 52 changes 2014-09-17 17:16:21 +02:00
Arcterus
01c2a0b9ff Remove all warnings (at least on Linux) 2014-09-16 20:08:40 -07:00
Arcterus
01c681ecb3 Update for latest Rust 2014-09-16 19:10:27 -07:00
Michael Gehring
6b9831a091 Update for rust master 2014-09-16 16:59:00 +02:00
Michael Gehring
f9e99c0c26 Fix non_snake_case warnings 2014-09-02 09:49:39 +02:00
Michael Gehring
1c8e9161cc Add explicit lifetimes 2014-08-31 20:01:41 +02:00
Michael Gehring
cdacaaa648 time::Duration::{milli}seconds now takes i64 arg 2014-08-31 19:45:03 +02:00
Heather
056175c0af Merge pull request #384 from ebfe/repr_c
Add repr(C) to c structs
2014-08-22 14:48:18 +04:00
Michael Gehring
1134e8b9c9 Update for new import syntax 2014-08-22 12:22:31 +02:00
Michael Gehring
83974be06f Add repr(C) to c structs 2014-08-22 12:21:30 +02:00
Xander Masotto
4414d95b6b Fix sync and whoami on windows. 2014-08-18 07:29:48 +01:00
Michael Gehring
81264a5d6a Fix build with rust master 2014-08-17 10:27:22 +02:00
Ivan Ukhov
dd1f0df69f Replace deprecated from_c_str with from_buf in id 2014-08-09 06:55:12 +02:00
Heather
b65719638d Merge pull request #377 from Arcterus/fix-pipe_writeln
common/util: make pipe_writeln! use writeln! instead of write!
2014-08-05 08:18:52 +04:00
Arcterus
7e00000098 common/util: make pipe_writeln! use writeln! instead of write! 2014-08-04 20:17:10 -07:00
polyphemus
2a238e3c0f Get rid of unsafe indexing
Unsafe indexing is replaced by ImmutableEqVector::position_elem() and a
few branches have been eliminated.

The performance is about the same as for unsafe indexing.
2014-07-31 22:43:31 +02:00
Michael Gehring
ac77c6da17 Fix deprecation warnings 2014-07-29 08:52:58 +02:00
Virgile Andreani
49a733a864 Implement unexpand 2014-07-28 19:36:33 +02:00
Virgile Andreani
69cb8da6ed Implement expand 2014-07-26 12:57:26 +02:00
Arcterus
e80af55700 Fix more bugs to pass Busybox tests 2014-07-24 22:20:03 -07:00
Arcterus
a38ee8a007 Implement timeout (resolves #364) 2014-07-21 18:55:52 -07:00
Arcterus
439a8cadd1 Move tests out of src and into test 2014-07-21 14:44:30 -07:00
Arcterus
b7f4bd01bc Move all of the utils into src 2014-07-20 20:20:55 -07:00