Petre Scheie wrote:

> How about this:
> 
> cp filename `grep $1 /etc/passwd |cut -d: -f6`  


might want to add ^ and : to the grep to limit it to usernames
`grep ^$1: ...`

or

cp filename `eval echo ~$1`

Eric