On Tue, 2003-10-14 at 02:54, Brian Parish wrote: ... > Based on the above I would have thought that: > > #!/bin/bash > for i in *.OK; do mv $i $(basename $i .OK) > > would do it, but I get: > > line 3: syntax error: unexpected end of file > > Do I have too many dollars or something (this has never been a problem > before ;-)
# for i in *.OK; do mv $i $(basename $i .OK); done -- Jack Coates Monkeynoodle: A Scientific Venture...
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com