[26361] in Perl-Users-Digest
Perl-Users Digest, Issue: 8534 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Oct 17 22:31:19 2005
Date: Mon, 17 Oct 2005 18:05:05 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 17 Oct 2005 Volume: 10 Number: 8534
Today's topics:
Re: making same change to *lots* of files, *without* da <tadmc@augustmail.com>
Re: Microsoft Hatred FAQ <my_email_is_posted_on_my_website@munged.invalid>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 17 Oct 2005 17:44:59 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: making same change to *lots* of files, *without* date changed
Message-Id: <slrndl8abb.82e.tadmc@magna.augustmail.com>
Tad McClellan <tadmc@augustmail.com> wrote:
> David Combs <dkcombs@panix.com> wrote:
>> In article <15K4f.974$S24.57600@news.xtra.co.nz>,
>> Tintin <tintin@invalid.invalid> wrote:
>>>"David Combs" <dkcombs@panix.com> wrote in message
>>>news:divco0$t3q$1@panix1.panix.com...
>
>
>>>> Well, the time has come to modify several hundred files,
>>>> changing every /home to /myhome.
>>>#!/bin/sh
>>>for file in *.sh
>>>do
>>> perl -pe 's:/home:/myhome:g' $file >$file.new && touch -r $file
>>>$file.new && mv $file.new $file
>>>done
> What will it do to a directory named
>
> /homebase
>
> ??
>
> A: change it to
>
> /myhomebase
>
>
> So, we'd better make that:
>
> s:/home/:/myhome/:g
Which will, of course, not do the right thing with something like:
/usr/home/somedir
...
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Tue, 18 Oct 2005 00:42:31 GMT
From: Roedy Green <my_email_is_posted_on_my_website@munged.invalid>
Subject: Re: Microsoft Hatred FAQ
Message-Id: <86h8l15n3odeetug7j231fi9rb3jrauo7h@4ax.com>
On Mon, 17 Oct 2005 17:29:36 -0700, "David Schwartz"
<davids@webmaster.com> wrote or quoted :
> By the way, this is based on the same flawed premise that a lot of
>post-Y2K griping was based on. It went like this, "wow, we get all concerned
>and spent all this money on a problem that never even happened". Well,
>perhaps it didn't happen because we were all concerned and spent all this
>money on it.
The worry was that the work would not be completed in time. The work
had to be done or the programs would simply stop working. There was
no way to avoid the expense.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 8534
***************************************