Follow-up Comment #3, bug #9498 (project wesnoth):

How to generate a wrapper-script, as mentioned below,
for processing several files:

#:#
cd wesnoth/data/core/units/monsters
mkdir New
grep -L -w description *.cfg | awk 'BEGIN {
  s="~/scripts/attack.awk " };
  // {print s $0 " > New/" $0 }' > xx.sh
#:#

Then have a look at the generated xx.sh, 
and execute it with
sh xx.sh

Then compare the results, e.g. with
diff Cave_Spider.cfg New/Cave_Spider.cfg

-HaJo

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9498>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to