On Tue, Mar 12, 2002 at 03:59:07AM +0800, csj wrote: > Is there a utility to truncate files such that a single smaller piece or > no more than two pieces are produced? Something like: > > (1) original_file -> small_chunk (bigger_2nd_chunk discarded) > (2) original_file -> (smaller_1st_chunk discarded) big_chunk > (3) original_file -> small_chunk + big_chunk ... > Hope you understand what I means. TIA
No I don't, but anyhow, wouldn't head and tail do the job? You can specify the number of bytes from the head or the tail you want, and that's all you get. -- groetjes, carel