Az nem a domain mondjuk? Akkor talán így tudnám elképzelni: case $STR in hup.hu) STR="$STR v1" ;; esac Így akkor lehet verziózni.