Subst string

2005-12-16 Thread MARG
;ve used this before with success. Is it because of the white space between "Include" and "conf" ? Any help would be apreciated. Warm Regards, MARG -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Inserting line at a specific point

2005-12-15 Thread MARG
; >> httpd.conf). I've searched the web, tried my best, but couldn't make it. Can you help me please ? Warm Regards, MARG -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Chanching a string inside a file

2005-12-13 Thread MARG
Hi John, I finally made it: # perl -pi -e's~^(PATH=\$PATH:\$HOME/bin)~$1:/usr/local/httpd/bin~' .bash_profile Thank you so much. If it weren't you puting me in the right tracks, i'd never make it. Warm Regards, MARG John W. Krahn wrote: > MARG wrote: > >>John

Re: Chanching a string inside a file

2005-12-13 Thread MARG
Hi John, No good. The file remains unchanged :( But thank you anyway. Warm Regards, MARG John W. Krahn wrote: > MARG wrote: > >>John W. Krahn wrote: >> >>>MARG wrote: >>> >>> >>>>I'm trying to change the string in .bash_profile

Re: Chanching a string inside a file

2005-12-13 Thread MARG
Hi John, Thank you for your ansewer. I don't have any error anymore, but the file remains unchanged :( Any ideas ? Warm Regards, MARG John W. Krahn wrote: > MARG wrote: > >>Hi, > > > Hello, > > >>I'm trying to change the string in .bash_pro

Re: Chanching a string inside a file

2005-12-13 Thread MARG
Hi Timothy, Timothy Johnson wrote: > What might be the errors? "Bareword found where operator expected at -e line 1, near "/httpd/bin" (Missing operator before bin?) Sintax error at -e line 1, near "/usr/local/" Excecution of -e aborted due to compilation

Chanching a string inside a file

2005-12-13 Thread MARG
ors. What might be wrong ? Any help would be apreciated. Warm Regards, MARG -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>