2022-10-17 06:35:36 +00:00
|
|
|
#!/bin/bash
|
2022-09-25 06:44:30 +00:00
|
|
|
PATTERN="Passepartout/App/fastlane/ios/metadata/*/description.txt"
|
2020-05-15 11:24:52 +00:00
|
|
|
AFTER=$1
|
|
|
|
NAME=$2
|
|
|
|
DELIMITER="†"
|
|
|
|
|
|
|
|
for FILE in `ls $PATTERN`; do
|
|
|
|
sed -E "s/${AFTER}/${AFTER}${DELIMITER}- ${NAME}/g" $FILE | tr $DELIMITER '\n' >$FILE.tmp
|
|
|
|
mv $FILE.tmp $FILE
|
|
|
|
done
|