[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unfamiliar; what does this do: "for file do"..."done"
From: |
Chet Ramey |
Subject: |
Re: Unfamiliar; what does this do: "for file do"..."done" |
Date: |
Sat, 13 Aug 2016 11:51:15 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 8/13/16 7:35 AM, L. A. Walsh wrote:
> I was looking at how the 'ldd' command(bash script) on my system and
> came across the code usage:
>
> for file do ## about line 138 in my version
"If the in word is omitted, the for command executes list once for
each positional parameter that is set (see PARAMETERS below)."
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/