<div dir="ltr"><div><div><div><div><div><div>Well, I used to know how to do this. Trying to get multiple variables set in one line:<br><br></div>while read UID GID COMMENT<br></div>do<br></div> echo UID is $UID, GID is $GID, and it's $COMMENT"<br>
</div>done < grep person /etc/passwd | awk -F":" '{ print $3, $4, $5 }'<br><br></div>Does not work well at all. Any ideas?<br><br></div>Thanks!<br><br>Leam<br clear="all"><div><div><div><div><div><div>
<div><br>-- <br><div><a href="http://leamhall.blogspot.com/" target="_blank">Mind on a Mission</a></div>
</div></div></div></div></div></div></div></div>