Commit Graph

5 Commits

Author SHA1 Message Date
sin 6ea2b1aa53 Use estrtoul() in dd(1)
Allow specifications in hex and octal as well.
2014-06-04 13:13:00 +01:00
sin 144a893268 Ensure a proper exit code
If copy() fails at least print stats.
2014-06-04 13:06:46 +01:00
sin 7fa098ace6 Use eprintf() wherever possible, add -h to options 2014-06-04 13:04:45 +01:00
sin 5c66e30060 Nuke a harmless warning 2014-06-04 12:19:46 +01:00
sin 207ba019fd Add initial version of dd(1).
This code was written by Sebastian Krahmer and you can find
the original version at https://github.com/stealth/odd.git.

Permission has been granted to release this code under MIT/X
for ubase.  It has been simplified by sin@2f30.org.

Thanks Sebastian!
2014-06-04 11:47:38 +01:00