Follow-up Comment #1, bug #9498 (project wesnoth):
>Add a line with description=_ "$i" below the line with name=$i
>in every [attack] (...) [/attack] block in a given file.
This can be done with a fairly simple awk-script,
see attachment.
For processing several files, it would need
a small shellscript as a wrapper.
This version of the script does not care if
a 'description'-line is already present !
-HaJo
(file #2571)
_______________________________________________________
Additional Item Attachment:
File name: attack.awk Size:0 KB
_______________________________________________________
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