On Wed, 02 Jul 2003 at 16:41 GMT, Bryan Harris wrote:tmp1=`cat tmp1`> Is there an easy way to append a small file, tmp1, to a bunch of files
> all at once? This doesn't work:
> /bin/ls -1 *.vsr | xargs cat tmp1 >>
> I think the shell is intercepting the >>, and enclosing the last 3
> items in single quotes doesn't work either.
for file in *.vsr
echo "$tmp1" >> "$file"
Chris F.A. Johnson [url]http://cfaj.freeshell.org[/url]
My code (if any) in this post is copyright 2003, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License