ccat icon indicating copy to clipboard operation
ccat copied to clipboard

add size option to limit the print size

Open arstercz opened this issue 7 years ago • 2 comments

Maybe someone don't want to print many lines when the file is too big or read large data from stdin.

arstercz avatar Feb 21 '17 05:02 arstercz

Sorry for the late reply. Can people not pipe it to less? e.g. ccat FILE | less

owenthereal avatar May 12 '17 17:05 owenthereal

Hi @jingweno : people can use pipe, but many new user often forget to use pipe, and in some scenarios, such as MySQL pager option, many people just want print the all lines at once. So I think this option is useful for some sysadmins or developers.

arstercz avatar Jul 18 '17 05:07 arstercz