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]
Mark Taylor wrote:
> 
> 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.
> 

Don't just run the perl command. It will not remove anything by itself.
You have to use shell redirection (<, > and/or >>) to feed in the users
file and forward whatever gets printed on the console to the new users
file, then rename them. See my original post with the perl command and
also 'man bash'.

-- 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/