🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #215111

Re: Utility to rename files

#215111
From: Anonyma
Date: Tue, 27 Mar 2007 20:33
31 lines
2232 bytes
admin@eelbash.yi.org wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm pleased to hear that a file name replacement utility can be created
> with one or two lines of code. Amazing. But until that has been revealed
> to the world, I thought I'd continue with the utility written by the
> python guru and added to by me.

I guess it should come as no surprise to anyone that you're just too
damned dumb to realize something written as an academic exercise by a
"Python guru" might not necessarily be the best, fastest, most
efficient, or smallest LOC way to accomplish a task.

No more surprising than finding out you're totally ignorant of shell
script for loops, sed, and awk anyway.

> Let me know how it goes.

It goes very poorly if you try to rename groups of files differentiated
primarily by similar patterns of your alleged [BAD SYMBOLS]. What
hereto before unknown level of gross incompetence is it that makes you
believe things like - and _ aren't perfectly acceptable and sometimes
necessary file name characters anyway?

You've also coded in a global bug you're not aware of because you're
completely oblivious of Python's scoping rules, not that we'd EVER
expect you to attain a level of understanding that would let you figure
that one out. 
Technical Details
Message-ID: <e95d62a1b640dbc988f4eebab1ebb983@deuxpi.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!feeder.news-service.com!newsgate.cistron.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
References: <20070327172327.KrMfnmBJXToB@anonymous.poster>

Show Full Headers
Complete Article Headers
Message-ID: <e95d62a1b640dbc988f4eebab1ebb983@deuxpi.ca>
Subject: Re: Utility to rename files
Date: Tue, 27 Mar 2007 20:33:37 +0000
From: Anonyma <anon-bounces@deuxpi.ca>
References: <20070327172327.KrMfnmBJXToB@anonymous.poster>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!feeder.news-service.com!newsgate.cistron.nl!xs4all!news.wiretrip.org!news.dizum.com!sewer-output!mail2news
X-Anonymous: yes
X-Anon-Help: <http://www.deuxpi.ca/>
 <mailto:deuxpi-admin@deuxpi.ca>
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 31