Commit graph

560 commits

Author SHA1 Message Date
Arcterus
fc26e0cfea Merge pull request #294 from ebfe/mkfifo
Implement mkfifo
2014-06-22 22:11:47 -07:00
Arcterus
c663a3571e Merge pull request #297 from torkve/master
hashsum and its (md5sum,sha1sum,...)
2014-06-22 22:11:16 -07:00
Vsevolod Velichko
fc9e4403df hashsum and its aliases 2014-06-23 00:27:52 +04:00
Oly Mi
154932e597 Merge pull request #293 from ebfe/comm
comm: exit with status 1 on invalid arguments
2014-06-22 18:18:04 +04:00
Michael Gehring
d97c34d0b2 Implement mkfifo 2014-06-22 14:40:02 +02:00
Michael Gehring
ea18515855 comm: exit with status 1 on invalid arguments 2014-06-22 13:57:42 +02:00
Arcterus
81a88e94d5 Merge pull request #292 from ebfe/travis
add multicall build to travis
2014-06-21 11:45:13 -07:00
Arcterus
0eddfed631 Merge pull request #291 from ebfe/cat
cat: fix build
2014-06-21 11:44:53 -07:00
Michael Gehring
abbaf244d2 add multicall build to travis 2014-06-21 17:15:29 +02:00
Michael Gehring
a76ac499b6 cat: fix build 2014-06-21 17:14:32 +02:00
Oly Mi
0b89885199 Merge pull request #289 from Arcterus/gitmodules-update
Assorted fixes and improvements
2014-06-21 10:35:09 +04:00
Arcterus
1296aa3d0d seq: handle -- 2014-06-20 16:46:59 -07:00
Arcterus
f96a4311a2 seq: now passes about half of the Busybox tests 2014-06-20 16:32:43 -07:00
Arcterus
32d843f500 Merge pull request #290 from kwantam/master
fmt: correct tab support, better formatting
2014-06-20 16:27:27 -07:00
kwantam
c9ee0a3e4d fmt: correct tab support, better formatting
In brief:

- Lines no longer end with trailing whitespace.
- fixed length calculation when tabs are present
- word splitting gives more info to the line
  breaking process, which should be useful for K-P
- code cleanup here and there
- K-P is not implemented yet. That's next. There
  is some dead code in linebreak.rs that forms the
  basis for K-P.
- Performance has regressed somewhat; we're now about
  60% slower than GNU fmt (formerly about 20%), but we
  are basically on par with OpenBSD fmt.
- addressed comments from Arcterus on PR

This is a squash of the following local commits:

 1feceb0 - address comments from Arcterus on PR
 b36aa90 - use word_nchars rather than w.len() for first word
 f44a629 - proper tab handling
 4f57593 - added tab analysis info to WordInfo
 211f4a5 - pass WordInfo by ref
 80e14b9 - overhaul word splitting apparatus
 d29f2e6 - tidy up the breaking by passing arg struct pointer
 d8020df - lines blank save for prefix act as par separators
 8bd7f1e - fixed tab behavior in -u
 a2387f7 - cleaner prefix handling ; cleanup ; prep for K-P
2014-06-20 18:59:45 -04:00
Arcterus
fc7f291a68 echo: check argument length when parsing options 2014-06-20 15:12:08 -07:00
Arcterus
b3f83378b7 Prevent rebuilding of up-to-date utilities 2014-06-20 14:50:32 -07:00
Arcterus
5b8e359a5f Change md5sum/rust-crypto to deps/rust-crypto 2014-06-20 14:37:14 -07:00
Arcterus
eb5f199c8f Fix build dependencies in the Makefile 2014-06-20 14:31:55 -07:00
Arcterus
3d139aecc2 Merge pull request #286 from ebfe/uutils
uutils: add md5sum
2014-06-20 12:27:24 -07:00
Oly Mi
0b3c6552ef Merge pull request #287 from ebfe/remove-bytes
Remove use of bytes!()
2014-06-20 18:32:20 +04:00
Michael Gehring
3c2831835e Remove use of bytes!() 2014-06-20 15:15:51 +02:00
Michael Gehring
63825f96d5 uutils: add md5sum 2014-06-20 14:49:49 +02:00
Michael Gehring
62e639cfa6 md5sum: remove Makefile 2014-06-20 14:49:49 +02:00
Michael Gehring
30ee539ec0 move rust-crypto to deps/ 2014-06-20 14:49:49 +02:00
Oly Mi
5c501cc815 Merge pull request #280 from Arcterus/echo-fix
Make echo pass the Busybox test suite
2014-06-20 06:36:38 +04:00
Arcterus
af01114ba8 echo: pass Busybox test suite 2014-06-19 17:38:26 -07:00
Arcterus
df6f1ba19c echo: fix handling of \0 2014-06-19 16:26:49 -07:00
Arcterus
77e9d7bbae Merge pull request #283 from ebfe/uutils
uutils: fix build
2014-06-19 16:08:23 -07:00
Michael Gehring
f6a6305690 fmt: make uumain public 2014-06-20 01:03:43 +02:00
Michael Gehring
4738d4efcd sync: rename crate to uusync due to name clash with rusts libsync 2014-06-20 01:03:43 +02:00
Arcterus
06f2c5aba3 Merge pull request #281 from ebfe/uutils
uutils: add fmt, sync
2014-06-19 15:49:27 -07:00
Michael Gehring
b7357c527f uutils: add fmt, sync 2014-06-20 00:46:10 +02:00
Arcterus
76cf0e47ed echo: handle -- correctly 2014-06-19 13:49:09 -07:00
Oly Mi
ca06ef6155 Merge pull request #278 from Arcterus/du-error-msgs
du: make error output more consistent with other utils
2014-06-19 21:34:22 +04:00
Oly Mi
eb936de334 Merge pull request #279 from Arcterus/busybox-fix
Make the busybox test suite actually run with relative path names
2014-06-19 21:34:11 +04:00
Arcterus
dc958c43d7 Make the busybox test suite actually run 2014-06-19 09:31:47 -07:00
Arcterus
dba87f0131 du: make error output more consistent with other utils 2014-06-19 09:17:59 -07:00
Arcterus
e8c12735e8 Merge pull request #277 from ebfe/du
du: exit with status 1 on invalid arguments
2014-06-19 08:40:35 -07:00
Michael Gehring
52c8e8daba du: exit with status 1 on invalid arguments 2014-06-19 15:16:27 +02:00
Michael Gehring
69b5429e6a du: tweak output format 2014-06-19 14:57:32 +02:00
Oly Mi
61d2e930d0 Merge pull request #276 from Arcterus/c_types-mac-import
common: import Mac-specific things in one statement
2014-06-19 12:50:38 +04:00
Arcterus
1f6935a682 common: import Mac-specific things in one statement 2014-06-19 00:53:24 -07:00
Arcterus
7f2cd59883 Merge pull request #275 from ebfe/c-types-import
c_types: remove unused import
2014-06-19 00:45:05 -07:00
Michael Gehring
eb6c56eead c_types: remove unused import on linux 2014-06-19 09:39:19 +02:00
Oly Mi
b44f47d7f7 Merge pull request #268 from Arcterus/id-group-mac-fix
Fix id and groups for Macs.  Also add dependency information.
2014-06-19 11:23:44 +04:00
Oly Mi
898e6082f6 Merge pull request #274 from Arcterus/util-libc
common: make libc reference in util look for the libc in util
2014-06-19 07:54:00 +04:00
Arcterus
662b0d656f id: remove warning about unused import 2014-06-18 20:23:01 -07:00
Arcterus
afe56a95e9 common: make libc reference in util look for the libc in util 2014-06-18 20:19:50 -07:00
Arcterus
99b0a11fe0 Merge pull request #272 from kwantam/master
implementation of fmt
2014-06-18 20:16:14 -07:00