Hi

I have a question of how to print the longest line in bash scripting ?
Most appropriate would be to search for longest dictionary value.

*Input file contains*
Bala -> 54; 56; 57
Bala -> 54; 57
Bala -> 56; 57
Bala -> 54; 56; 57;60
Name -> 64; 66; 67
Name -> 64; 67
Name -> 66; 67
Name -> 64; 66; 67;60
Super -> 78
First -> 29, 60
First -> 29

*Output should be*
Bala -> 54; 56; 57;60
Name -> 64; 66; 67;60
Super -> 78
First -> 29, 60

-- 
Regards,
Balasubramaniam Natarajan
http://blog.etutorshop.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to