Re: more regex maddness, using special chars

2004-08-01 Thread Jerry M. Howell II
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 .php

more regex maddness, using special chars

2004-07-31 Thread Jerry M. Howell II
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'/g' $(find . -name \*.$ext thank you, -- Jerry M. Howell II email admin: usalug.org sys admin

a sed equivelent

2004-07-26 Thread Jerry M. Howell II
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 give me. -- Jerry M. Howell II email admin: usalug.org sys admin: hostbyk

Re: can't use CPAN with Mandrake 9.2

2004-02-12 Thread Jerry M. Howell II
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

useing perl to redirect and change port #

2003-03-07 Thread Jerry M. Howell II
; } 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 cpanel logs into. Thanks for any help -- Jerry M. Howell II -- To unsubscribe, e-mail: [EMAIL

Re: Editors

2002-12-17 Thread Jerry M . Howell II
! ) (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: [EMAIL PROTECTED] -- Jerry M. Howell II -- To unsubscribe, e-mail

perl and php and parseing

2002-12-15 Thread Jerry M . Howell II
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? -- Jerry M

Re: crypt()

2002-12-09 Thread Jerry M . Howell II
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 wondering what's going on here. I installed Crypt-PasswdMD5-1.2 perl module to make this work. my

superuser

2002-12-08 Thread Jerry M . Howell II
? Is there a 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]

crypt()

2002-12-08 Thread Jerry M . Howell II
prefered password\n; $passwd = STDIN; $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]

Re: crypt()

2002-12-08 Thread Jerry M . Howell II
information on DES encryption -- Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net MSN: [EMAIL PROTECTED] From: Jerry M. Howell II [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: crypt() Date: Sun, 8 Dec 2002 05:33:09 -0500 hello there, Got

Re: crypt()

2002-12-08 Thread Jerry M . Howell II
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 the passwd like it should I should see something like $1$blahhblahhblahh but it doesn't do

Re: book for perl ???

2002-11-22 Thread Jerry M . Howell II
??? 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]

perl modules for a webhost

2002-11-21 Thread Jerry M . Howell II
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]

listing perl modues on system

2002-11-20 Thread Jerry M . Howell II
Hello there, I was wondering if there is an easy way to list the perl modules that are installed on a system? -- Jerry M. Howell II -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]