version 1.24, 1999/12/06 22:20:34 |
version 1.25, 1999/12/26 00:20:33 |
|
|
\&.endif |
\&.endif |
\&.fi |
\&.fi |
.Ed |
.Ed |
|
.Pp |
won't work, and should be rewritten the other way around. |
won't work, and should be rewritten the other way around. |
.Pp |
.Pp |
When handling pre-BSD 4.4 archives, |
When handling pre-BSD 4.4 archives, |
|
|
may erroneously mark archive members as out of date if the archive name |
may erroneously mark archive members as out of date if the archive name |
was truncated. |
was truncated. |
.Pp |
.Pp |
Variable handling and for loop expansion are incredibly inefficient. |
The handling of ; and other special characters in tests may be utterly |
|
bogus. For instance, in |
|
.Bd -literal |
|
\&A=abcd;c.c |
|
\&.if ${A:R} == "abcd;c" |
|
.Ed |
|
.Pp |
|
the test will never match, even though the value is correct. |
|
.Pp |
|
In a .for loop, only the variable value is used, assignments will be |
|
evaluated later, e.g., in |
|
.Bd -literal |
|
\&.for I in a b c d |
|
I:=${I:S/a/z} |
|
A+=$I |
|
\&.endfor |
|
.Ed |
|
A will evaluate to a b c d after the loop, not z b c d. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr mkdep 1 |
.Xr mkdep 1 |
.Sh HISTORY |
.Sh HISTORY |