<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 09/12/2013 08:44 AM, leam hall
wrote:<br>
</div>
<blockquote
cite="mid:CACv9p5oSQBtam2G9yGarWtDQ3e8_Wp1AQXMuwyn1-5AMsQJ+6w@mail.gmail.com"
type="cite">grep person /etc/passwd | awk -F":" '{ print $3, $4,
$5 }' |while read U G C<br>
do<br>
echo U is $U, G is $G, and it's $C"<br>
done</blockquote>
<br>
Of course, that'll work too. :-)<br>
<br>
I used an explicit subshell out of habit... became habitual for me
back when I was writing a lot of shell scripts on my system to
control other systems via telnet. Had to do it that way because we
weren't allowed to "modify the platform" by "installing scripts on
it", but they never said anything about making scripts to automate
the shell itself on my local system... :-D<br>
<br>
— Mike<br>
<br>
<div class="moz-signature">-- <br>
<table border="0">
<tbody>
<tr>
<td> <img src="cid:part1.08020501.08010003@naunetcorp.com"
alt="Naunet Corporation Logo"> </td>
<td> Michael B. Trausch<br>
<br>
President, <strong>Naunet Corporation</strong><br>
☎ (678) 287-0693 x130 or (855) NAUNET-1 x130<br>
FAX: (678) 783-7843<br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>