Lines Matching refs:username
37 echo " %u ...... substituted by determined username (foo)"
57 username=''
66 # determine username
68 username="$LOGNAME"
69 if [ "x$username" = "x" ]; then
70 username="$USER"
71 if [ "x$username" = "x" ]; then
72 username="`(whoami) 2>/dev/null |\
74 if [ "x$username" = "x" ]; then
75 username="`(who am i) 2>/dev/null |\
77 if [ "x$username" = "x" ]; then
78 username='unknown'
153 sed -e "s;%u;$username;g" \
162 sed -e "s;%u;$username;g" \