diff options
author | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-21 20:59:42 +0000 |
---|---|---|
committer | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-21 20:59:42 +0000 |
commit | 26d1ced9cac314ebbc8ac5b0fa399d5a71f966af (patch) | |
tree | 65a94ed80bc66543ec0d9866e74c52dd478a952e /TOOLS | |
parent | ff766ec99272946ff8aa7e0ceffafd82f473a071 (diff) | |
download | mpv-26d1ced9cac314ebbc8ac5b0fa399d5a71f966af.tar.bz2 mpv-26d1ced9cac314ebbc8ac5b0fa399d5a71f966af.tar.xz |
small helper script for DOCS translators (to change numeric links to
alphabetic)
Read it for usage instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7829 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/TOCrenumber.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/TOOLS/TOCrenumber.sh b/TOOLS/TOCrenumber.sh new file mode 100755 index 0000000000..739ad91f61 --- /dev/null +++ b/TOOLS/TOCrenumber.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Very simple tool to convert numeric TOC links to alphabetic (for translators, +# it is already done in english DOCS) +# +# Usage: +# cd DOCS/French +# ... +# TOCrenumber.sh 2.3.1.2.1 xv_3dfx +# ... +# +# by Gabucino +# + +for i in *html; do + cat $i | sed s/#$1\"/#$2\"/ > $i.new + mv -f $i.new $i + cat $i | sed s/NAME="$1"\>/NAME="$2"\>/ > $i.new + mv -f $i.new $i +done |