mc/po/strip-location.sh

9 lines
105 B
Bash
Executable File

#! /bin/sh
set -e
for i in "$@"; do
i="./$i"
sed '/^#:/d' < "$i" > "$i.tmp"
mv -f "$i.tmp" "$i"
done