Commit graph

1246 commits

Author SHA1 Message Date
Arcterus
b01f123050 Fix typo in stdbuf dependencies (fixes #521) 2015-02-01 13:08:54 -08:00
Alex Lyon
9c0ed7236c Merge pull request #517 from keunwoo/keunwoo-fix-address-radix-20150127
od: fix --address-radix interpretation and minor cleanups
2015-02-01 12:13:37 -08:00
Heather
6b548acc6c Merge pull request #519 from ebfe/fix-build
Fix build with rust master
2015-01-29 11:26:02 +03:00
Michael Gehring
906d3e4ec5 write -> write_all 2015-01-29 08:47:43 +01:00
Michael Gehring
d187dc574b std::io -> std::old_io 2015-01-29 08:45:37 +01:00
Michael Gehring
3bff810837 Update dependencies 2015-01-29 08:17:05 +01:00
Keunwoo Lee
f6a07663e8 od: proper interpretation of -A flag
Prior to this CL, --address-radix was being used to determine the format
of the output bytes.  This was wrong: this flag controls the printing of
the address (in the POSIX spec for od, this is called the "input offset
base"), not the printing of the content bytes.
2015-01-27 21:51:28 -08:00
Keunwoo Lee
55be34a2c4 od: clean up fname usage
+ rm superfluous clone
+ rm superfluous mut variable
2015-01-27 21:51:28 -08:00
Keunwoo Lee
71bc68a987 od: rm -v alias for --version
This shortflag conflicts with --output-duplicates.
2015-01-27 21:51:28 -08:00
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