So I have a file like so:
Code:
4: 7:.2:
6: 7:.2:
10: 7:.2:
12: 7:.2:
dist: 7:.2:
price_break_id1: 9:.0:
price_break_id2: 9:.0:
price_break_id4: 9:.0:
price_break_id6: 9:.0:
price_break_id10: 9:.0:
price_break_id12: 9:.0:
price_break_iddist: 9:.0:
2: 7:.2:
I want the file to be formatted to have the colons 'right aligned' with regards to the colons.
Code:
4: 7:.2:
6: 7:.2:
10: 7:.2:
12: 7:.2:
dist: 7:.2:
price_break_id1: 9:.0:
price_break_id2: 9:.0:
price_break_id4: 9:.0:
price_break_id6: 9:.0:
price_break_id10: 9:.0:
price_break_id12: 9:.0:
price_break_iddist: 9:.0:
2: 7:.2:
I am using sco unix mp4
(which means i can use printf)