On Wednesday 19 September 2001 15:49, Linux - User wrote:
is there any way to make with the Shell a for or any other loop statement to make a loop like this:
01 02 03
Can I ask why you need to count like this? It reminded me of a story I read once... Somebody asked the local Unix guru if "sed" could be made to count. The two of them spent three hours coming up with a "sed" script. Turns out the asker just wanted to print line numbers on a file. He/she really needed the "nl" command, not "sed". So the reason I ask is because there may be a way to accomplish your overall goal, without making the shell count. -- Robert Wohlfarth rjwohlfar@galaxyinternet.net "Is not life more important than food, and the body more important than clothes?" -- Matthew 6:25b