Re: For Loops and Space in Names

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

 



On 09Dec2008 20:55, Dave Ihnat <dihnat@xxxxxxxxxx> 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@xxxxxxxxxx> DoD#743

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux