[Techtalk] command line

wolf wolf at wolfrising.net
Sat Mar 20 00:10:16 EST 2004


Hi,

Is there anyway from the command line to inject the same line of text
into about 20 files
in a directory? I have a php include file I would like to appear on the
top of every .php
file in a directory and I thought there might be a quick and easy way
to paste it into each
file via the command line as opposed to opening each file and pasting
onto the top.



More information about the Techtalk mailing list