[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: For Loops and Space in Names



On 09Dec2008 20:55, Dave Ihnat <dihnat dminet com> wrote:
| On Wed, Dec 10, 2008 at 01:31:45PM +1100, Cameron Simpson wrote:
| > BTW, you know that this: ...
| 
| Yes, I was doing bad pseudocode; it usually would be something like:
| 
|     exec 0</etc/passwd
|     while read inline
|     do
|       ...
|     done
| 
| or "done </etc/passwd" as you wrote it.

Yah. Like you, I prefer the former "exec" style. Keeps the redirect up the
front where it can be seen. Cheers,
-- 
Cameron Simpson <cs zip com au> DoD#743


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]