cppannotations/annotations/bin/patchlatexidx
Frank B. Brokken 777b182edd Moved all files but 'excluded', 'sf', and 'sourcetar' to ./annotations
This allowed me to standardize the sourcetar and sf/* scripts: the base
    directory (containing ./git) is now empty, except for maintenance scripts,
    while the source files and build scripts of the annotations are stored in
    a subdirectory of their own.
2013-05-29 20:44:08 +02:00

11 lines
169 B
Bash
Executable file

#!/bin/sh
cd ../latex
sed '
s/"/\\"/g
s/!/\\!/g
s/</\$<\$/g
s/>/\$>\$/g
' cplusplus${1}.ind > cplusplus.ind.out
mv cplusplus.ind.out cplusplus${1}.ind