More documentation comments.

This commit is contained in:
Eric S. Raymond 2007-04-06 00:30:31 +00:00
parent e9b4af2f99
commit 7f08591791
2 changed files with 4 additions and 1 deletions

View file

@ -2,7 +2,9 @@
# NOTE: THIS TOOL IS DEPRECATED. DO NOT RELY ON IT.
# attempt to identify images that are not used
# Attempt to identify images that are not used.
# Must be run from the top level of the Wesnoth source directory.
# this is a helper script for the Battle for Wesnoth project
# see http://www.wesnoth.org/
# this script is distributed on the same terms as Battle for Wesnoth itself

View file

@ -3,6 +3,7 @@
# NOTE: THIS TOOL IS DEPRECATED. DO NOT RELY ON IT.
# Find sound files that are shipped but not used in mainline campaigns.
# Must be run from the top level of the Wesnoth source directory.
# Changing the commas to newlines is a hack to handle the lists used in data/sound-utils.cfg.
find -name '*.cfg' | xargs egrep '\.wav|\.ogg' | tr ',' '\n' | perl -e 'while(<>){/([a-zA-Z0-9_-]*(\.ogg|\.wav))/; print "$1\n";}' | sort | uniq > tmp-referenced-sounds-list