--- kldan_ng wrote: > I would need to put a #include "common.h" line into each c > file. ... Is there any way to insert > the line automatically into each c file?
for c in old/*.c ; do cat insert $c > new/$c ; done ; You must create new/old/
--- kldan_ng wrote: > I would need to put a #include "common.h" line into each c > file. ... Is there any way to insert > the line automatically into each c file?
for c in old/*.c ; do cat insert $c > new/$c ; done ; You must create new/old/