in reply to Re^2: ~username expansion
in thread ~username expansion

grep username: /etc/passwd | cut -d: -f6 perl -le 'print glob "~username"';