hi
i am reading from a file and grep'ng for some values and writing
those into another file
I am using "|" as a seperator for the values
smthing like this
printf FILE " %d| %d |%d\n",$x,$y,$z;
In file i am getting values like this
12|23|23
123|3|234
22333|223|3
but i want to make it formatted like this
12 .....|12.... |23
123 ...|3 ......|234
22333 |223 ..|3
my maximum field lenth is 5 digits.
please suggest me regarding this