I have been attempting to pad the beginning of a line with zeros. the first field in a line is a number with the length of 1 - 6. I would like to put zeros in as place holders so that feild looks as though it is right justified and has a set width of 6 characters in length. The file is variable length and can get quite large and I need to be able to do this to all the lines. My AWK is very rusty any help is much appreciated. Thank you in advance.
-Jason
-Jason