http://www.unix.com – Experts , In the given output of the log file, the 2nd field that is separated by "|" pipe is not aligned well due to the uneven data length, I would like it to align the 2nd column with 37 length (that is disturbed in the output) including the pipe . The two pepe "|" would be in a aligned way with length 37 , so it would look better. Please advise how to align the output , Code: # cat logfile zmihx88 | ia64 hp Integrity BL890c i8 | B.11.23 | 4:84pm up&nb (HowTos)