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 .

more regex maddness, using special chars

2004-07-31 Thread Jerry M. Howell II
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&#

a sed equivelent

2004-07-26 Thread Jerry M. Howell II
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

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 hopin

useing perl to redirect and change port #

2003-03-07 Thread Jerry M. Howell II
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

Re: Editors

2002-12-17 Thread Jerry M . Howell II
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: [

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

Re: crypt()

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

Re: crypt()

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

Re: crypt()

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

crypt()

2002-12-08 Thread Jerry M . Howell II
"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]

superuser

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

Re: book for perl ???

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

perl modules for a webhost

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