mirror of
https://github.com/tauri-apps/gir-files.git
synced 2026-01-31 00:45:15 +01:00
12 lines
218 B
Bash
Executable File
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
|