Commit graph

6837 commits

Author SHA1 Message Date
Keunwoo Lee
b756a57345 od: clean up parse_radix code and use site
+ Make parse_radix terser and clearer.
+ Make purpose of radix clearer at use site
  (note that the code currently completely misuses the --address-radix
  flag; this is inherited from the previous code)
+ Don't panic! inside parse_radix; instead return Result<> and let the
  caller handle errors (currently we panic, but probably we'll want to use
  some less alarming error routine); this will be more testable later as
  well.
2015-01-27 21:51:28 -08:00
Alex Lyon
2f0d8c89c9 Merge pull request #515 from keunwoo/merge-benhirsch-od-20150125
Merge benhirsch24 work on od
2015-01-27 21:24:42 -08:00
Keunwoo Lee
288179be49 address Arcterus comments on uutils/coreutils PR 515
Mostly style things.
2015-01-27 19:32:26 -08:00
Michael Gehring
d0f5523afb Merge pull request #514 from dokaptur/readme_edit
remove stdbuf and libstdbuf from TODO list
2015-01-25 20:15:04 +01:00
dokaptur
f00db372c9 remove stdbuf and libstdbuf from TODO list 2015-01-25 20:01:46 +01:00
Heather
aae7f5775e Merge pull request #511 from ebfe/stdbuf
stdbuf: fix library output name
2015-01-25 19:37:33 +03:00
Heather
3f251f3601 Merge pull request #513 from dokaptur/stdbuf_fix
stdbuf - fix issue 512
2015-01-25 19:36:49 +03:00
dokaptur
fecc81f270 stdbuf - fix issue 512 2015-01-25 15:06:41 +01:00
Michael Gehring
6a9d769269 stdbuf: fix library output name 2015-01-25 13:46:07 +01:00
Alex Lyon
61e698ff9f Merge pull request #510 from ebfe/fix-build
Fix build with rust master
2015-01-25 00:28:20 -08:00
Alex Lyon
333e58283f Merge pull request #509 from Stebalien/cleanup-wc
Cleanup wc
2015-01-25 00:27:31 -08:00
Keunwoo Lee
1954274700 od: fix warnings 2015-01-25 00:17:38 -08:00
Alex Lyon
80d79d6053 Merge pull request #508 from Stebalien/cleanup-sync
Cleanup sync.
2015-01-25 00:12:35 -08:00
Alex Lyon
5766a0f6eb Merge pull request #507 from Stebalien/cleanup-cat
Cleanup cat
2015-01-25 00:10:07 -08:00
Keunwoo Lee
a6e5deaa16 od: whitespace fix (4-space indents, 99-column) 2015-01-25 00:03:14 -08:00
Alex Lyon
bfc6d2e288 Merge pull request #469 from dokaptur/stdbuf
stdbuf - basic version
2015-01-25 00:02:43 -08:00
Keunwoo Lee
2d8e7f6dec od: fix build
Just the minimal stuff needed to make od build again.  I have restrained
myself from making more invasive changes.
2015-01-24 23:56:10 -08:00
Michael Gehring
55fed599de The serialize crate shipped with rust no longer supports base64 2015-01-25 08:31:42 +01:00
Steven Allen
03312d0bb1 Cleanup wc.
* Avoid cloning.
* Use slicing syntax.
* Use while let.
* Misc cleanup.
2015-01-25 02:29:06 -05:00
Steven Allen
be117de7e7 wc: reset current_char_count after each line. 2015-01-25 02:20:08 -05:00
Keunwoo Lee
3739c82c95 mv od/ -> src/ 2015-01-24 23:16:13 -08:00
Keunwoo Lee
f1436f985d Merge branch 'master' of https://github.com/benhirsch24/coreutils into benhirsch-od
Conflicts:
	Makefile
2015-01-24 23:14:57 -08:00
Steven Allen
903bb00189 Cleanup sync.
* Use slicing syntax.
* Don't unnecessarily use the match binding syntax.
2015-01-25 01:46:55 -05:00
Steven Allen
7647a37bf8 Cleanup cat: use slicing syntax. 2015-01-25 01:21:31 -05:00
Alex Lyon
70c6fb0887 Merge pull request #506 from Stebalien/yes-cleanup
Cleanup `yes`
2015-01-24 20:25:04 -08:00
Steven Allen
8a101b2203 Cleanup cat: use while let instead of loop then match. 2015-01-24 22:53:27 -05:00
Steven Allen
9326dbc3de Cleanup cat: open files in for loop header. 2015-01-24 22:52:40 -05:00
Steven Allen
e7f80e9826 Cleanup yes
Mostly avoid copying where not needed.
2015-01-24 22:42:16 -05:00
dokaptur
ec4182fcf1 stdbuf - install multicall 2015-01-25 00:39:30 +01:00
dokaptur
b71df2fd78 prepare_libs in Makefile 2015-01-25 00:39:30 +01:00
dokaptur
563c9ab34e preloading improvement 2015-01-25 00:39:06 +01:00
dokaptur
32259aadda basic version 1 2015-01-25 00:38:20 +01:00
Heather
6c897dc76c Merge pull request #504 from ebfe/slice
Replace deprecated slice_{to,from} with slicing syntax
2015-01-24 18:47:46 +03:00
Heather
c4365b75c6 Merge pull request #505 from ebfe/fix-build
sort: fix build
2015-01-24 18:40:06 +03:00
Michael Gehring
fbdf04c072 Replace deprecated slice_{to,from} with slicing syntax 2015-01-24 10:46:28 +01:00
Michael Gehring
78408fda78 sort: fix build 2015-01-24 09:50:33 +01:00
Heather
84bc38ee84 Merge pull request #503 from ebfe/fix-build
Fix build with rust master
2015-01-24 07:41:00 +03:00
Michael Gehring
cb1dd390bb base64, cp: fix build 2015-01-24 03:56:37 +01:00
Michael Gehring
c32caba9b6 Update dependencies 2015-01-24 03:43:48 +01:00
Michael Gehring
3f3bf1ff88 Merge pull request #500 from TomGenco/patch-1
uname: change trim_left() to trim()
2015-01-13 23:40:34 +01:00
Tom Genco
406735e6f2 uname: change trim_left() to trim()
Otherwise all options have a space at the end, causing a warning in grml zsh config, and who knows what else.
2015-01-13 15:04:21 -07:00
Alex Lyon
46281bd56a Merge pull request #477 from lht/readlink
Implement readlink
2015-01-13 10:55:17 -08:00
Haitao Li
a6750e90a7 Implement readlink
Fixes #111
2015-01-13 22:21:23 +11:00
Heather
08660a53a7 Merge pull request #499 from Arcterus/master
Make dependency info usable for test, sync, true, and false
2015-01-11 09:30:08 +03:00
Arcterus
41cc268df8 Make dependency info usable for test, sync, true, and false 2015-01-10 13:00:15 -08:00
Michael Gehring
39edd1181b Merge pull request #498 from Arcterus/master
Remove warning about dep-info being deprecated
2015-01-10 21:35:47 +01:00
Arcterus
7838e839aa Remove warning about dep-info being deprecated 2015-01-10 12:13:25 -08:00
Heather
76bb7163d2 Merge pull request #497 from ebfe/fix-build-alpha
Fix build with rust alpha
2015-01-10 23:01:16 +03:00
Michael Gehring
c3fb3fe23f make: disable deps/time build and use rust-crypto/deps/time instead 2015-01-10 20:38:57 +01:00
Michael Gehring
58bd009a9e Remove unused imports 2015-01-10 20:44:57 +01:00