On Sat, 2004-07-31 at 19:45, Jerry M. Howell II wrote:
> hello all,
>
>I appreciate everyone that got me going in the right direction with a
> sed alternative. After some searching I even found a way to get it to
> search recursive and add an extension to the end IE .html or .
sh to search in?"
read dir
echo""
echo "what extension?"
read ext
echo""
echo "what word or string are we looking for?"
read old
echo ""
echo "what do you wish to replace it with"
read new
cd $dir
perl -p -i -e 's/'$old/$new
27;s/'$old'/'$new'/g' <$script> outfile
mv outfile $script
done
sometimes this script works and sometimes it just clears the file out
leaving it empty. I need a viable alternative but don't even know where
to start. Thanks for any help you can gi
Understood but since I read it and had a similar issue not long ago I'll
post. from the command line type urpmi perl-devel
You are probably missing the header files needed by cpan.
On Mon, 2004-02-09 at 20:32, Brian's Linux Box wrote:
> This might be better off on a Mandrake list, but I was hopin
ion: http://$ENV{'HTTP_HOST'}:${port}/mta\n\n";
exit;
}
print "Location: http://$ENV{'REMOTE_ADDR'}:${port}/mta\n\n";
this script or something similar is needed to escape the cpanel base
directory and also to escape the default port of 2082 that cpane
hard on vi -- a very good editor! ) (try vim or gvim for a
> > more friendly interface).
>
> Vim rules ;-)... so much for preventing a flame war.
>
> http://danconia.org
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [
Hello all,
Not sure if any of you are familiar with the search tool called perlfect.
but if anyone is I'm useing it to index a site and have a problem, it doesn't
parse the .php files. Does anyone know if there is a way to make perl parse
php files? any modules out there for this?
-
similar problems hope this helps.
And if someone sees other ways for me to do my code, clean it, make it more
secure I'm always with an open mind
On Sun, 8 Dec 2002 08:54:28 -0500
Jerry M. Howell II <[EMAIL PROTECTED]> wrote:
> thank you for your help, but still no dice. I am wonderi
oks to me like it choped the passwd at the /
grrr,
On Sun, 08 Dec 2002 13:14:23 +
Chris Ball <[EMAIL PROTECTED]> wrote:
> >> On 8 Dec 2002 07:22:39, Jerry M. Howell II <[EMAIL PROTECTED]> said:
>
>> I used the useradd -p and it doesn't insert t
assword does not appear
> in the program in unencrypted form. (In fact, because the password is in a
> separate file, it does not appear in the program at all.) This makes it
> impossible to obtain the password by simply examining the text file.
>
>
>
> NOTE
> The behavior of
"enter your prefered password\n";
$passwd = ;
$passwd=crypt($passwd);
chomp($passwd);
print `/usr/sbin/useradd "$username" -p "$passwd"`;
--
Jerry M. Howell II
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
beter way? I've heard someone around here mention suexec, would
that work in a web environment safely or should I look at an alternative
route? If so what route should I look?
--
Jerry M. Howell II
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
eference for PERL ???
>
> S.
>
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Jerry M. Howell II
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
l the mods we might not have
that our cusomers might need. Any sugestions, webpages that list this or
anything that might help me?
thnx
--
Jerry M. Howell II
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
14 matches
Mail list logo