2
0
Fork 0
mirror of https://github.com/uutils/coreutils synced 2024-12-22 11:03:12 +00:00
Commit graph

297 commits

Author SHA1 Message Date
Haitao Li
0a64dbfe8b Bump rust-crypto to v0.2.2 2014-12-22 10:54:26 +11:00
Arcterus
9ef8ea486b Implement nice (resolves ) 2014-12-15 21:00:16 -08:00
Michael Gehring
dbaf849270 Make rust-crypto link to deps/time 2014-12-13 06:49:00 +01:00
Arcterus
db48d109e7 Use -O instead of --opt-level 3 (closes ) 2014-12-03 10:13:10 -08:00
Arcterus
1f89fd4b89 Fix warning about time being deprecated 2014-11-29 13:32:33 -08:00
Heather
b02f9a9671 Merge pull request from Arcterus/chmod
Implement most of chmod
2014-10-26 09:21:20 +04: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
Arcterus
ccc6772646 test: add some tests for -a and -o 2014-10-20 22:04:17 -07:00
Alex Lyon
ea5d67f8dc Merge pull request 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
Jay Shah
eb2415fb90 Introduce a test for `cp'. 2014-10-14 08:13:18 +01:00
Michael Gehring
0d6d5e7213 Fix uutils build with non-empty DONT_BUILD 2014-09-02 09:50:17 +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 ) 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
Arcterus
af40114664 Add stripping and LTO options to Makefile 2014-07-20 01:27:47 -07:00
Akira Hayakawa
f414fcb89d Add tsort
Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
2014-07-20 12:19:38 +09:00
Arcterus
9b3b8622ed Force programs to rebuild when a dependency changes 2014-07-19 15:28:51 -07:00
Julian Orth
a4eb5c16f9 add test 2014-07-15 14:56:21 +02:00
Arcterus
a1168410a2 cksum: add massive performance improvements 2014-07-10 23:38:18 -07:00
benhirsch24
2b8602fd4d Merge branch 'master' of https://github.com/uutils/coreutils 2014-07-10 13:50:13 -07:00
benhirsch24
cfc7b21498 Started od, have at least octal working! 2014-07-10 13:49:20 -07:00
Heather
35431d6520 Merge pull request from Arcterus/shuf
Implement shuf
2014-07-10 06:36:50 +04:00
Arcterus
304ba5f4dc Implement shuf 2014-07-09 18:19:59 -07:00
Arcterus
eb15cc32de Merge pull request from ebfe/deprecation
Update for crate_id changes
2014-07-06 03:39:39 -07:00
Michael Gehring
a0b3b710c2 Update for crate_id related changes 2014-07-06 12:34:50 +02:00
Chirag Jadwani
fc027254df uniq - Add initial implementation 2014-07-06 12:48:14 +05:30
Akira Hayakawa
16463243e3 split: Initial import
Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
2014-07-02 07:30:08 +09:00
Arcterus
47896a6a69 Allow installation of the multicall binary 2014-07-01 01:07:16 -07:00
Arcterus
5abb69df0d uutils: auto-generate programs to be built 2014-06-30 20:45:51 -07:00
Arcterus
141e858407 Modify Makefile to build correctly when using BUILD 2014-06-30 17:41:15 -07:00
Vsevolod Velichko
c6f75a1419 relpath implementation 2014-06-29 23:59:25 +04:00
Vsevolod Velichko
c7e93c009e realpath implementation 2014-06-29 23:57:54 +04:00
Arcterus
8fd455f8e5 Merge pull request from polyphemus/cut
Implement cut - implement 
2014-06-27 09:30:53 -07:00
polyphemus
8b1ff08bd5 Add cut_characters implementation, based on cut_bytes
This implementation uses rust's concept of characters and fails if the
input isn't valid utf-8. GNU cut implements '--characters' as an alias
for '--bytes' and thus has different semantics, for this option, from
this implemtation.
2014-06-27 17:39:49 +02:00
Michael Gehring
30bba07f9c always build multicall binary
squashed:
	a2c6b27 - build: automatically generate main() files
	c942f0f - remove MULTICALL=1 build from travis
	cb7b35b - make: remove unnecessary shell command
	69bbb31 - update README
	03a3168 - all: move main() into separate file that links against util crate
	8276384 - make: always build multicall binary
	aa4edeb - make: avoid 'rustc --crate-file-name'
2014-06-26 10:26:16 +02:00
Vsevolod Velichko
9fb33699b1 nohup implementation 2014-06-26 10:41:32 +04:00
Heather
4aa009995b move sync to PROGS 2014-06-26 10:05:31 +04:00
Michael Gehring
dd4ace3251 Implement link 2014-06-23 09:38:30 +02:00
Arcterus
fc26e0cfea Merge pull request from ebfe/mkfifo
Implement mkfifo
2014-06-22 22:11:47 -07:00
Vsevolod Velichko
fc9e4403df hashsum and its aliases 2014-06-23 00:27:52 +04:00
Michael Gehring
d97c34d0b2 Implement mkfifo 2014-06-22 14:40:02 +02:00
Arcterus
b3f83378b7 Prevent rebuilding of up-to-date utilities 2014-06-20 14:50:32 -07:00
Arcterus
eb5f199c8f Fix build dependencies in the Makefile 2014-06-20 14:31:55 -07:00
Michael Gehring
63825f96d5 uutils: add md5sum 2014-06-20 14:49:49 +02:00
Michael Gehring
30ee539ec0 move rust-crypto to deps/ 2014-06-20 14:49:49 +02:00
Arcterus
dc958c43d7 Make the busybox test suite actually run 2014-06-19 09:31:47 -07:00
Oly Mi
b44f47d7f7 Merge pull request from Arcterus/id-group-mac-fix
Fix id and groups for Macs.  Also add dependency information.
2014-06-19 11:23:44 +04:00
kwantam
6228bb4b85 remove fmt from README.md, add to Makefile 2014-06-18 20:56:53 -04:00
Arcterus
3dc2064477 Begin using dependency info in the Makefile 2014-06-18 17:31:00 -07:00
Arcterus
cf2d7a3bb7 Fix id and groups for Macs. Also make every util depend on common 2014-06-17 20:47:29 -07:00
Vsevolod Velichko
c5b423048c chroot implementation 2014-06-17 02:05:36 +04:00
Tobias Schottdorf
2e097d659e add nl 2014-06-16 05:38:32 +02:00
Arcterus
d323b9b8b4 Move whoami from UNIX_PROGS to PROGS 2014-06-15 13:41:23 -07:00
Alexander Fomin
8b73b7881d GNU sync implementation 2014-06-15 18:25:00 +04:00
Arcterus
a55508fba0 Merge pull request from molysgaard/master
Rudamentary tail implementation.
2014-06-12 23:13:49 -07:00
Arcterus
986d7cba79 Add some installation instructions 2014-06-12 19:14:56 -07:00
Arcterus
0bb67fe13a Add the ability to install coreutils (resolves ) 2014-06-12 18:43:52 -07:00
Morten Olsen Lysgaard
17afa8a1fd Rudamentary tail implementation.
For specific info on missing features and optimizations,
look at tail/README.md
2014-06-12 23:29:50 +02:00
Brian Anderson
18acfc0103 Make busytest stop complaining about missing config file 2014-06-11 21:48:38 -07:00
Heather
bcc04ae4fe move hostname to unix_progs 2014-06-09 14:21:03 +04:00
T. Jameson Little
b321a1a5c0 add factor 2014-06-05 14:14:04 -06:00
Brian Anderson
91da25ff2b Add a 'busytest' target to run uutils under the busybox testsuite
It requires the BUSYBOX_SRC environment variable to be set,
and optionally passes arguments to the busybox test runner with
the RUNTEST_ARGS environment variable.

Example:

```
make busytest MULTICALL=1 BUSYBOX_SRC=~/dev/busybox RUNTEST_ARGS=tr
```
2014-06-02 14:07:55 -07:00
Michael Gehring
94c527c8f4 multicall: don't build true/false crates 2014-05-29 08:58:06 +02:00
Michael Gehring
13f01e4c11 add uutils multicall binary 2014-05-28 14:22:52 +02:00
T. Jameson Little
aa51311f83 add sum 2014-05-27 22:00:28 -06:00
Nick Platt
ccc327f0f8 Implement touch
Squashed commit of the following:

commit 7b7981d315dd7748287bedc8f6417bbc2f9cb1ee
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Sat May 24 00:33:49 2014 -0400

    Last minute touchups

commit dae70f52e2b485695e8c7e2ce8d2997f571afcab
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Fri May 23 23:43:24 2014 -0400

    Minor indentation fixes

commit 782a02fe2768cf9e457bb6db9e8a63615c3a4bd1
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Fri May 23 23:40:57 2014 -0400

    Fixes for latest rust

commit 51b0e59f75352bf65c89d2ab8cf0948da8404753
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Sun Apr 27 15:15:29 2014 -0400

    Fixups

commit 9efd1f4c07f4610e3067a5b2bd047eb117344cdf
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Sun Apr 27 14:20:11 2014 -0400

    Basic date and timestamp support

commit a354bc9c07a6ed2cd2748f1734a1ce0f6683e58c
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Sun Apr 27 01:37:37 2014 -0400

    Primary functionality in place

commit 8bbaa0caa34fbca129db0c86f32d376d6eafbe18
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Sat Apr 26 22:23:16 2014 -0400

    Support creating files

commit 5bf47c3c790b556b596d25a05cd74ca4c06b6d67
Author: Nick Platt <platt.nicholas@gmail.com>
Date:   Mon Apr 21 00:24:49 2014 -0400

    Add touch with basic usage text
2014-05-24 00:47:42 -04:00
Michael Gehring
1718fbe72c tr: add some tests 2014-05-18 17:59:41 +02:00
Michael Gehring
dded5fb80d add tr 2014-05-18 17:59:13 +02:00
Michael Gehring
bb3ee23d8c Add cp back to Makefile and fix build. 2014-05-17 19:01:17 +02:00
zvms
ee98e49514 Add unlink command. 2014-05-16 16:57:03 -07:00
Michael Gehring
d4cb1d0185 add cksum 2014-05-16 23:03:13 +02:00
Michael Gehring
dc8dc5a483 add comm 2014-05-16 20:04:46 +02:00
Maciej Dziardziel
fda88ec9c6 implement hostid 2014-04-03 22:31:46 +01:00
Maciej Dziardziel
8f4d9ea42e implement kill 2014-04-03 16:30:39 +00:00
joaoxsouls
677caaaec0 implement uname 2014-04-03 01:18:39 +01:00
Arcterus
e898d37736 Update for latest Rust 2014-03-31 09:40:21 -07:00
Arcterus
dc29eb5928 Implement fold (closes ) 2014-03-26 18:35:24 -07:00
Arcterus
df9a296100 Implement md5sum (closes ) 2014-03-24 16:53:35 -07:00
José Neder
ef4a5e965d Implement uptime
Move utmp struct from users to common/utmpx.rs
2014-03-18 09:42:44 -03:00
Arcterus
fac630d07c Add paste (closes ) 2014-02-28 09:19:32 -08:00
Arcterus
c21dcc50dc Implement tac (closes ) 2014-02-27 10:59:51 -08:00
Alan Andrade
8127d8b43d id and groups share functions 2014-02-25 23:42:37 -08:00
humboldtux
96a84f73b5 logname implementation 2014-02-24 22:24:01 +01:00
Heather
b364e64746 move tty to UNIX_PROGS 2014-02-19 09:59:48 +04:00
Arcterus
cca19911ad Merge branch 'add-du' of https://github.com/derekchiang/coreutils into add-du
Conflicts:
	README.md
2014-02-18 12:17:34 -08:00
Alan Andrade
e90393f885 Unix/BSD head implementation 2014-02-16 19:50:02 -08:00
Alan Andrade
accdd37aeb Show all groups
-A option
Finally made work Gn and full
Add P function
Add pretty option
Added g option
Finish
2014-02-16 12:00:04 -08:00
Heather
bbfc8a9d04 Merge pull request from Arcterus/master
Add status image and move users to Unix-specific commands
2014-02-09 09:26:33 +03:00
Alan Andrade
5f02d0fc81 hostname implementation 2014-02-08 15:44:32 -08:00
Arcterus
a79728b1fb Add status image and move users to Unix-specific commands 2014-02-08 13:36:31 -08:00
Arcterus
ce5cd0200b Add a way to prevent building of programs on Windows 2014-02-07 19:35:03 -08:00
Arcterus
74df4d5a98 Fix programs for latest Rust and begin usage of new utility macros 2014-02-06 22:39:07 -08:00
Heather
2e44b5b7ee Merge pull request from Arcterus/truncate
Added truncate
2014-02-06 08:17:30 +03:00
Arcterus
2fa4f23d86 Merge pull request from Heather/master
Important changes! [ Mostly due language Syntax changes ]
2014-02-05 20:56:18 -08:00
Arcterus
810936ac42 truncate: added simple tests 2014-02-05 20:19:33 -08:00
Arcterus
968483bdf6 Added truncate 2014-02-05 20:19:07 -08:00
Daniel MacDougall
4388c72bf3 Implement seq
Fixes 
2014-02-05 19:18:58 -08:00
Arcterus
6d2d380a8a Remove MANY warnings 2014-02-04 20:41:11 -08:00
Arcterus
496a28a301 Merge pull request from juszczakn/master
Implemented mkdir
2014-02-04 08:05:16 -08:00
KokaKiwi
bc11734557 add users executable. 2014-01-16 02:51:43 +01:00
Alan Andrade
f0be827d6b Implement tty 2014-01-10 02:23:12 -06:00
Jordi Boggiano
aa889f6bae Update basename for latest rustc 2014-01-07 01:54:02 +01:00
Jordi Boggiano
c50e475c6b Merge remote-tracking branch 'BeyondSora/basename'
Conflicts:
	README.md
2014-01-07 01:41:59 +01:00
Jordi Boggiano
dfb68841fd Merge remote-tracking branch 'pabzdzdzwiagief/tee'
Conflicts:
	Makefile
2014-01-07 01:30:07 +01:00
Jordi Boggiano
26c53073e5 Merge remote-tracking branch 'Arcterus/master'
Conflicts:
	Makefile
	README.md
2014-01-07 01:27:33 +01:00
Jordi Boggiano
1058a7c1c3 Merge remote-tracking branch 'jordyd/master'
Conflicts:
	Makefile
2014-01-07 01:25:36 +01:00
Jordi Boggiano
c6fff12162 Merge remote-tracking branch 'Arcterus/sleep'
Conflicts:
	Makefile
2014-01-07 01:22:24 +01:00
Nick
9cd301f653 remove unneeded typing, swap cat and mkdir 2014-01-05 16:22:04 -06:00
Nick
3a63b50956 move parent opt check, update tests 2014-01-05 16:03:13 -06:00
Nick
aac0a46b39 Fix test for cat, add mkdir test 2014-01-03 22:33:05 -06:00
Nick Juszczak
fc1da5a691 remove cat warning, update makefile 2014-01-03 17:32:39 -06:00
Nick Juszczak
d0c2896b16 add to makefile, basic mkdir functionality done 2014-01-01 17:32:21 -06:00
Arcterus
33bcc3156b Added build instructions and allowed selection of which tests to run 2013-12-29 10:11:27 -08:00
Arcterus
68e4d86f9d Added the ability to select which programs to compile 2013-12-26 23:48:38 -08:00
pabzdzdzwiagief
f1e8a30872 Implement tee 2013-12-23 18:12:26 +01:00
Jordy Dickinson
56f4c1e273 Implement base64, resolves issue 2013-12-20 14:34:45 -05:00
Arcterus
1d3fe8402f Implemented rmdir, which fixes 2013-12-18 10:42:20 -08:00
Arcterus
d0936d0082 Implemented sleep, which resolves 2013-12-18 09:32:17 -08:00
Arcterus
d08d8c8029 Add simple rm implementation 2013-12-17 22:09:32 -08:00
Heather
a007dadeda simple pwd implementation 2013-12-05 16:44:43 +04:00
Jimmy Lu
15465e21ec update coding style and add basename to makefile 2013-12-04 10:41:32 -05:00
Derek Chiang
025adec19e Add du to Makefile 2013-12-03 18:59:47 -05:00
Derek Chiang
7b6880d348 Implement dirname 2013-12-03 04:29:32 -05:00
aph
91c14071bf reduce merge pain of Makefile 2013-12-02 11:50:24 +00:00
Derek Chiang
6c46f775f7 Implement echo 2013-12-01 04:17:27 -05:00
Boden Garman
8f49e2afa2 Merge branch 'master' of github.com:bpbp-boop/coreutils 2013-11-28 21:05:19 +11:00
KokaKiwi
ed8bc6b7bc Fix build issue because of make. 2013-11-28 00:19:21 +01:00
KokaKiwi
96346761ab Fix build. 2013-11-28 00:14:19 +01:00
Boden Garman
23bdaae577 added wc utility 2013-11-17 20:41:40 +11:00
Huon Wilson
2db4ff2d46 Make tests depend on their corresponding binary. 2013-11-11 21:04:56 +11:00
Jordi Boggiano
a501bade88 Add env to the build 2013-10-25 18:46:42 +02:00
Jordi Boggiano
177ba96969 Fix makefile 2013-10-25 18:33:24 +02:00
Wil Moore III
c322cb23ff cleanup alignment inconsistency 2013-10-25 10:00:39 -06:00
KokaKiwi
4f2461c427 Modified Makefile (see PR ) 2013-10-25 13:10:52 +02:00
KokaKiwi
0daed114a7 Just modify variables order in Makefile (more readable) 2013-10-23 17:21:23 +02:00
KokaKiwi
ae33177603 Improved Makefile 2013-10-23 17:09:40 +02:00
Jordi Boggiano
13fd72e1f2 Add tests for cat and fix a couple issues 2013-10-22 15:31:51 +02:00
KokaKiwi
f1ca63f280 Merge branch 'master' of github.com:uutils/coreutils
Conflicts:
	Makefile
2013-10-18 14:01:11 +02:00
KokaKiwi
1c454e8b0b Add whoami implementation. 2013-10-18 14:00:38 +02:00
Léo Testard
3e4c1023c4 Fix compilation for Rust master branch (0.9-pre) 2013-10-18 13:47:59 +02:00
Jordi Boggiano
9653ed81a2 Add the first four utils 2013-08-02 19:33:31 +02:00