![paulc](/assets/img/avatar_default.png)
proper documentation. git-svn-id: http://voip.null.ro/svn/yate@845 acf43c95-373e-0410-b603-e72c3f656dc1
19 lines
313 B
Bash
Executable file
19 lines
313 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Filter the Yate header files so they can be parsed by kdoc or doxygen
|
|
|
|
if [ -n "$2" -a -f "$2" ]; then
|
|
f="$2"
|
|
else
|
|
if [ -n "$1" -a -f "$1" ]; then
|
|
f="$1"
|
|
else
|
|
echo "Could not find file to process" >&2
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
filter='s/FORMAT_CHECK(.*)//; s/[A-Z]*_API//'
|
|
|
|
sed "$filter" "$f"
|