On Fri, Jun 11, 2010 at 05:29:50PM -0400, tedd wrote:
> As for the Python "print" problem, I don't do Python -- so, it can
> win the lottery, or die, I don't care.
The issue, as I recall, is that for Python 3, they are changing print
(without parentheses) to require parentheses. This change alo
The command would be something like this:
find /wwwdir -name \*.txt -print | xargs sed -i s/oldtext/newtext/gi
Matt
Sent via BlackBerry by AT&T
-Original Message-
From: Steve
Date: Sat, 12 Jun 2010 15:24:39
To:
Subject: Re: [PHP] How to change the first line of a text file
On 6/12/2
If you're running on a *nix system you may want to look at using find, xargs,
and sed. Sorry I can't give you the syntax at the moment but you can google
for the three of them and find several good examples.
Matt
Sent via BlackBerry by AT&T
-Original Message-
From: Steve
Date: Sat, 1
On 6/12/2010 2:10 PM, Richard Kurth wrote:
I have around 6000 text files and I need to change the first line on
every one of them.
The first line is the title of the article and I need it look like
this the name of the article
every file has the first line and the it starts the article on
On Sat, 2010-06-12 at 14:10 -0700, Richard Kurth wrote:
> I have around 6000 text files and I need to change the first line on every
> one of them.
>
> The first line is the title of the article and I need it look like this
> the name of the article
>
> every file has the first line and the it
hi list php
hi network php
hi all the guru of php
how to run pecl pam
I own a system centos 5.5 with deposits remi for php
what are the specific changes to /etc/pam.d/ and php.ini
and can you give me an example that works with all the details
--
PHP General Mailing List (http://www.php.net/)
T
I have around 6000 text files and I need to change the first line on every
one of them.
The first line is the title of the article and I need it look like this
the name of the article
every file has the first line and the it starts the article on the second
line
The files are in many dir
At 5:28 PM -0700 6/11/10, Daevid Vincent wrote:
> -Original Message-
> From: Ahmed Mohsen [mailto:mre...@gmail.com]
>
Hey Daevid, does this form
improve anything in processing time or it's just for the sake of
readability?
Technically it does have a microscopic speed increase, b
On 12 June 2010 11:23, Peter Lind wrote:
> On 12 June 2010 01:17, Daevid Vincent wrote:
>> I'm trying to clean up some code and have been looking at error_log output
>> and they all look like this:
>>
>> [11-Jun-2010 23:04:54] In
>> /var/www/my_notifications.php, line 40: WARNING
>> Invalid argu
On 12 June 2010 01:17, Daevid Vincent wrote:
> I'm trying to clean up some code and have been looking at error_log output
> and they all look like this:
>
> [11-Jun-2010 23:04:54] In
> /var/www/my_notifications.php, line 40: WARNING
> Invalid argument supplied for foreach()
>
>
> I can't figure
10 matches
Mail list logo