Quote:
Originally Posted by grail
... I would mention that each pipe is effectively looping back over data already found, so would this not then be an explicit loop?
|
Perhaps this is a matter of semantics.
From an on-line dictionary:
explicit = stated clearly and in detail, leaving no room for confusion or doubt.
implicit = implied though not plainly expressed.
As regards coding: a FOR loop, a DO loop, a WHILE or UNTIL loop is
explicit.
It's right there, on the surface. You can't miss it.
A
sed which uses a test-and-loop-back construct is explicit.
In this specific example the data passed from one command to the next is only ten lines.
Daniel B. Martin