#!/bin/bash for file in jakobsen*.py do echo "print desifruj('"`cat test.txt`"'.upper(), False)" | python -i $file >> test.tmp done less test.tmp rm test.tmp