Commit graph

831 commits

Author SHA1 Message Date
Arcterus
b08415afea Merge pull request #306 from redcape/regex-hashsum-check2
Fix for hashsum: fix file checking #305
2014-06-24 20:44:23 -07:00
Gil Cottle
5986b77e1c Fix typo and code formatting 2014-06-24 23:26:24 -04:00
Gil Cottle
16b569ee18 fix comment 2014-06-24 22:15:56 -04:00
Gil Cottle
978ee8cc3a Fix for hashsum: fix file checking #305
* Changed line verifications to use regular expressions.
* Added binary marker to output and start using the marker from
    the check file line as input to calc_sum
* Convert characters to lowercase before comparison in check

Gil Cottle <gcottle@redtown.org>
2014-06-24 21:42:58 -04:00
Oly Mi
f5dfa0a9b9 Merge pull request #301 from Arcterus/seq-broken-pipe
seq: fix broken pipe on Busybox test
2014-06-23 21:48:08 +04:00
Arcterus
3f06adfcbc seq: fix broken pipe on Busybox test 2014-06-23 09:53:28 -07:00
Oly Mi
d160c37d23 Merge pull request #300 from Arcterus/seq-busybox
seq: pass all Busybox tests
2014-06-23 12:44:15 +04:00
Arcterus
ac4b3b7103 seq: pass all Busybox tests 2014-06-23 01:34:39 -07:00
Oly Mi
9597dca983 Merge pull request #299 from Arcterus/hashsum-fix
uutils: fix hashsum
2014-06-23 12:02:49 +04:00
Arcterus
ca8077c2bc uutils: fix hashsum 2014-06-23 01:00:15 -07:00
Arcterus
54d0436069 Merge pull request #298 from ebfe/update-rust-crypto
Update rust-crypto
2014-06-23 00:56:15 -07:00
Michael Gehring
917fc0c545 Update rust-crypto 2014-06-23 09:54:10 +02:00
Arcterus
635117b813 Merge pull request #295 from ebfe/link
Implement link
2014-06-23 00:53:52 -07:00
Arcterus
5471d5dd4d Merge pull request #296 from ebfe/exit_status
Partial exit status cleanup
2014-06-23 00:53:35 -07:00
Michael Gehring
edd0378e70 update readme 2014-06-23 09:38:30 +02:00
Michael Gehring
dd4ace3251 Implement link 2014-06-23 09:38:30 +02:00
Michael Gehring
bb1edec74e dirname, basename, env, head, id, sync, touch: exit with status 1 on invalid arguments 2014-06-23 09:35:39 +02:00
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
Alexander Fomin
428c6ea7b5 Program name fixed 2014-06-21 16:49:11 +04: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
Alexander Fomin
9c6d85a4ae Crate name fixed 2014-06-20 17:01:00 +04: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
Alexander Fomin
8011121f2a sync for Windows implementation 2014-06-20 16:44:35 +04: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