nsbin/DIR_aendern/titel.aendern

10 lines
129 B
Bash

#!/bin/sh
read -p "Titel: " mytitle
for a in $*
do
cat $a | sed "s/THE_TITLE/${mytitle}/g" > $a.tmp
mv $a.tmp $a
done