git.p6c8.net
/
jirafeau.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Translated using Weblate (Romanian)
[jirafeau.git]
/
lib
/
locales
/
remove.sh
1
#!/bin/bash
2
set -e
3
id
=
$1
4
if
[
-z
"
$id
"
];
then
5
echo
"please pass the string id to remove as parameter"
6
exit
1
7
fi
8
locales_dir
=
$
(
cd
"$(dirname
$0
)"
&&
pwd
)
9
find
$locales_dir
-type
f
-name
"*.json"
-print0
|
xargs
-0
sed
-i
"/
$id
/d"
patrick-canterino.de