On Aug 13, 4:44 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am trying to search & replace a string in a file using the below
> perl command on unix.
>
> perl -pi -e 's/OLD/NEW/g' repltest.txt
>
> But I want the above command to display what lines were replaced. Is
> it possible using some switch opti
On Aug 13, 4:44 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am trying to search & replace a string in a file using the below
> perl command on unix.
>
> perl -pi -e 's/OLD/NEW/g' repltest.txt
>
> But I want the above command to display what lines were replaced. Is
> it possible using some switch opti
On Mar 26, 10:17 am, [EMAIL PROTECTED] (Dennis G. Wicks) wrote:
> Thanks for that.
>
> Maybe not "sneaky" but definitely very clever!
>
> That solved my problem a lot easier than I thought
> it could be.
>
> Again, Thanks!
> Dennis
>
> Chas. Owens wrote the following on 03/25/2008 08:50 PM:
>
> > O
On Mar 24, 12:09 pm, [EMAIL PROTECTED] (Bobby) wrote:
> Hi all,
>
> I'm trying to write a simple do until loop to print out the value of $strA0
> through $striA3. What i'm doing is replacing the value of 0 through 3 in the
> $strA by joining two strings (my $strB = "strA" . $count;). Right now m
On Feb 12, 9:48 am, [EMAIL PROTECTED] (Mk) wrote:
> sorry, zentara, but with my perl 5.8.8 this script first produces:
>
> Bareword "Mainloop" not allowed while "strict subs" in use at
> ./Tkmenuentryconfigure.pl line 25
>
> And even after i delete "use strict" i now get:
>
> Useless use of a const
Been away from the computer for a while, and I see that some of your
questions have been addressed, but I will add a few comments.
On Dec 1, 10:44 am, [EMAIL PROTECTED] wrote:
> Thanks for taking time to respong and go clear thru the script bit by
> bit.
>
> kens <[EMAIL PRO
On Dec 1, 1:47 am, [EMAIL PROTECTED] wrote:
> Sorry to plop so much shabby code up here but I think I've stared at
> this a little too long and am now incapable of catching my error.
>
> This started out as just a helper script to help solve this problem:
>
> Needing to cp files with number names f
On Nov 8, 3:32 pm, [EMAIL PROTECTED] (Demian) wrote:
> Hello,
>
> I ran into a problematic file that combined two numeric columns into
> one:
>
> ATOM325 CA GLU B 40 -30.254 72.432-297.620 1.00
> 10.00 C
> ATOM326 CA ASP B 41 -28.149 73.031-294.529 1.00
> 10.00
On Sep 21, 3:48 pm, [EMAIL PROTECTED] wrote:
> On Sep 20, 9:29 am, [EMAIL PROTECTED] wrote:
>
>
>
> > On Sep 20, 2:54 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
>
> > > [EMAIL PROTECTED] wrote:
>
> > > > I am currently trying to write a Perl program in a Solaris 9
> > > > environment
> > > > I am try
On Jul 1, 5:40 am, [EMAIL PROTECTED] (Mathew Snyder) wrote:
> I have a script which places data 4 levels deep in a HoHoHoH. It grabs
> tickets
> in our ticket system using the systems API and places attributes about each
> piece of activity into the hash. The has is called %tickets. It looks lik
On Jun 6, 9:36 am, [EMAIL PROTECTED] (Peter Scott) wrote:
> On Tue, 05 Jun 2007 18:03:09 -0500, Mumia W. wrote:
> > A horrible thing has happened recently.
>
> > Messages from usenet seem to be appearing here.
>
> > I remember that messages posted to the list were reflected to the
> > newsgroup per
11 matches
Mail list logo