perl -spe 's/mymodel/$arg/' -- -arg=$model mytext.txt