% for f in *.php; do echo "some text" >> $f; done

On Nov 20, 2007 1:09 PM, Chris Arnold <[EMAIL PROTECTED]> wrote:
> Sunny wrote:
> >
> > To add a text to the end of a file, you can just use:
> >
> > echo "some text" >>myfile
> That would work except i have over 2000 files to add the same text to :)
> So the ">>myfile" part of the above code would not be possible; unless,
> you can have echo "some text" >>*.php?
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to