plug: Use Tcl! Great directory and file name support. It also compiles to bytecode, as does perl. Looping through lists of files or directories and recursion are easy!
On Mon, 4 Nov 2002 20:00:47 -0500 Joel Hammer <[EMAIL PROTECTED]> wrote: > Other posts have noted I have written bash scripts to read file names and > rename (mv) files to essentially sort them for the xv visual schnauzer. > > These scripts are fine for 50 files, but, in working with hundreds of > files, the bash script is starting to seem slow. > > Perl, as I understand it, runs compiled. > > How much faster is perl than bash in reading directories, looping through > arrays, and and mv'ing? > > Or, would I be better of to just bite the bullet, and write these in C ? > (I have minimal knowledge of C, but my evenings are free of late.) -- +============================+===============================+ | Roger Oberholtzer | E-mail: [EMAIL PROTECTED] | | OPQ Systems AB | WWW: http://www.opq.se/ | | Erik Dahlbergsgatan 41-43 | Phone: Int + 46 8 314223 | | 115 32 Stockholm | Mobile: Int + 46 733 621657 | | Sweden | Fax: Int + 46 8 302602 | +============================+===============================+ _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
