\_ For now I'm using perl on the file after it was created. Already had to do \_ that for something else, so it's not a great sin, just something else to \_ try to move back to shell later on :). You make it sound so hard: lartmebofh% perl foo.pl <...> lartmebofh% cat > foo.sh #!/bin/sh perl foo.pl ^D lartmebofh% chmod +x foo.sh lartmebofh% foo.sh <...> lartmebofh% simple as pie. David :-)