fix issue #6: cat --length=0 bug with large files
set command syntax enhanced. issue 184(googlecode)
fix build warning