MLUG: RE: [MLUG] removing a record with a perl script
RE: [MLUG] removing a record with a perl script
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I use bash for a shell.  I use Debian 2.2r2 linux.  I have Perl 5.005.  The
one liner ran with no errors other than it would not remove the users record
from the users file.

-----Original Message-----
From: EMAIL:PROTECTED
[mailto:EMAIL:PROTECTED]On Behalf Of Mikhail Kovalenko
Sent: Tuesday, April 03, 2001 6:55 PM
To: EMAIL:PROTECTED
Subject: Re: [MLUG] removing a record with a perl script


Mark Taylor wrote:
>
> Mikhail,
> Thanks moving the separator definition ($/ = '';) *before* the while loop?
> worked.
> I could not get your one liner to work.
> I really appreciate your help.  It has saved me a lot of time and
headaches.
> I now have a efficient way off adding and removing users from my radius
> users file.

No problem. Now, let's figure out why my version didn't work for you.
That's a pretty good way to learn. What shell do you use and what do you
get in response when you run that perl command?

-- MK

<< Terra es et in terram ibis >>
--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/

--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/