Tuesday, December 28, 1999, 12:25:57 PM, Alexander wrote:
>> > @echo off
>> > pushd %1
>> > del /q *.*
>> > for /f "Tokens=*" %%i in ('dir /b') do rd /s /q "%%i"
>> > popd
>> > :end
>> rm -rf temp/*
> Actually, it's the best comparison of Linux vs. NT I've *ever*
> seen! Thanks, Steve:-)) Linux definitely rulezz!
To be honest, though, they way described above is more of a shell script.
Why a person would do it that way, I have no idea. But the comparative shell
script in sh, csh or zsh would be about the same. For me to do it in perl
would be about the same as well. Python, prolly the same.
All it shows is that people can make the mistake of overlooking the easy
answer when going script happy. :)
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------