17 Nov
2004
17 Nov
'04
11:37
On Wednesday 17 November 2004 09:04, Oliver Leue wrote:
for (i=001,i<701,i++); do echo name.$i.doc >> doc_index.txt
With this the leading 0 get lost and the entries written as name.1.doc, name.10.doc,name.100.doc a.s.o.
Use printf (/usr/bin/printf or shell-builtin printf).
CU
--
Stefan Hundhammer