7

Append spaces the rows to make it into a required fixed length file

view full story
linux-howto

http://www.unix.com – I want to make a script to read row by row and find its length. If the length is less than my required length then i hav to append spaces to that paritucular row. Each row contains special characters, spaces, etc. For example my file contains , 12345 abcdef 234 abcde 89012 abcdefgh Each row should be of length 15, if any row is less than 15 then for the remaining length spaces should be appended. (HowTos)