On Fri, Sep 16, 2011 at 12:11:03AM +0800, lina wrote: > I wish the *.txt can be used, not input a.txt, b.txt, c.txt one by one, > > just in the script, the *.txt can leads to all the file in present > directory. I'm not understanding. You wanted to rename *.txt to *.pdf. Both rename(1) and the for-loop will work exactly as you want. -- . o . o . o . . o o . . . o . . . o . o o o . o . o o . . o o o o . o . . o o o o . o o o
Attachment:
signature.asc
Description: Digital signature