If first line is long, truncate

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>