🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.cs
Article #18

Re: Help CS people (or any script guru for that matter)

#18
From: John Kleist
Date: Thu, 07 Nov 1996 00:00
23 lines
1361 bytes
Leo J. Irakliotis wrote:
>
>Our beloved Engineering Network Services has changed the
>college of engineering domain name from lance.colostate
>to engr.colostate.  As a result, all occurences of
>"http:/www.lance..." should change to "http://www.engr...".
...
>
>Is there any gentle soul our there that has a similar
>script or could produce one with a few keystrokes?
>

perl -p -i.bak -e "s/http:\/\/www\.lance/http:\/\/www\.lance/ig" *.whatever

ought to do it.  The original files will be saved with the .bak
extension.

-- 
John Kleist, Colorado Climate Center, CSU, Fort Collins CO 80523
  Phone:970-491-8220  Email:johnk@ulysses.atmos.colostate.edu
      URL:http://ulysses.atmos.colostate.edu/~johnk/
Play both ends against the middle...1996 The Year of the Accordion
Technical Details
Message-ID: <55taq5$3joo@yuma.ACNS.ColoState.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <55t8ki$1fli@yuma.ACNS.ColoState.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 148df6,8a11ac99a7c99084
X-Google-Attributes: gid148df6,public
X-Google-Thread: 10244d,8a11ac99a7c99084
X-Google-Attributes: gid10244d,public
From: johnk@loki.atmos.colostate.edu (John Kleist)
Subject: Re: Help CS people (or any script guru for that matter)
Date: 1996/11/07
Message-ID: <55taq5$3joo@yuma.ACNS.ColoState.EDU>
X-Deja-AN: 195128123
references: <55t8ki$1fli@yuma.ACNS.ColoState.EDU>
organization: Colorado State University, Fort Collins, CO  80523
newsgroups: csu.cs,csu.general