Files
archived-gir-files/reformat.sh
Evgenii Pashkin 2b7cde26d1 Minor fixes
2020-04-26 11:43:02 +03:00

12 lines
218 B
Bash
Executable File

#!/bin/bash
set -x -e
# `///` used as `//` not works in Windows in this case
for file in *.gir; do
xmlstarlet ed -P -L \
-d '//_:doc/@line' \
-d '//_:doc/@filename' \
-d '///_:source-position' \
"$file"
done