Hello, cat(1) says: -B bsize Read with a buffer size of bsize bytes, instead of the default buffer size which is the blocksize of the output file. I'm attaching a small patch: - documenting -B0 as back-ward compatible behavior, - handling invalid number parameter. Original: $ cat -Baaa ^C $ New: $ ./a.out -Baaa a.out: Invalid buffer size 'aaa': Operation Canceled $ Regards,
Attachment:
patch-cat
Description: Binary data