1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 13:01:28 +02:00

Fix typos and remove RCS Id strings.

This commit is contained in:
Bart Schaefer 2000-05-16 16:21:33 +00:00
parent 26a467f406
commit a04a3a9e65
5 changed files with 37 additions and 3 deletions

View file

@ -1,3 +1,13 @@
2000-05-16 Bart Schaefer <schaefer@zsh.org>
* Felix Rosencrantz: 11398: Completion/User/_lzop,
Completion/Bsd/_bsd_pkg: Fix typos in option descriptions.
* 11378: Functions/Misc/is-at-least, Misc/make-zsh-urls: Remove
RCS Id strings.
* unposted: Doc/Zsh/cond.yo: Yodl off some excess whitespace.
2000-05-16 Tanaka Akira <akr@zsh.org> 2000-05-16 Tanaka Akira <akr@zsh.org>
* 11415: Completion/User/_cvs: follow the new matcher-list behaviour. * 11415: Completion/User/_cvs: follow the new matcher-list behaviour.

View file

@ -49,7 +49,7 @@ _bsd_pkg() {
'-c[show comment fields]' \ '-c[show comment fields]' \
'-d[show long descriptions]' \ '-d[show long descriptions]' \
'-D[show install-message files]' \ '-D[show install-message files]' \
'-f[show packing list instrcutions]' \ '-f[show packing list instructions]' \
'-i[show install scripts]' \ '-i[show install scripts]' \
'-I[show index lines]' \ '-I[show index lines]' \
'-k[show deinstall scripts]' \ '-k[show deinstall scripts]' \

View file

@ -58,7 +58,7 @@ _arguments -C -s \
'(--outfile)-o[specify output file]:output file:_files' \ '(--outfile)-o[specify output file]:output file:_files' \
'(-o)--outfile=[specify output file]:output file:_files' \ '(-o)--outfile=[specify output file]:output file:_files' \
'(--path)-p[write output files to specified directory]:directory:_files -/' \ '(--path)-p[write output files to specified directory]:directory:_files -/' \
'(-p)--path=[[write output files to specified directory]:directory:_files -/' \ '(-p)--path=[write output files to specified directory]:directory:_files -/' \
'(--no-checksum)-F[do not store or verify a checksum]' \ '(--no-checksum)-F[do not store or verify a checksum]' \
'(-F)--no-checksum[do not store or verify a checksum]' \ '(-F)--no-checksum[do not store or verify a checksum]' \
"(--keep -U --unlink --delete)-k[keep (don't delete) input files]" \ "(--keep -U --unlink --delete)-k[keep (don't delete) input files]" \

View file

@ -149,6 +149,20 @@ true if either var(exp1) or var(exp2) is true.
) )
enditem() enditem()
Normal shell expansion is performed on the var(file), var(string) and
var(pattern) arguments, but the result of each expansion is constrained to
be a single word, similar to the effect of double quotes. However, pattern
metacharacters are active for the var(pattern) arguments; the patterns
are the same as those used for filename generation, see
ifzman(\
zmanref(zshexpn)\
)\
ifnzman(\
noderef(Filename Generation)\
)\
, but there is no special behaviour
of `tt(/)' nor initial dots, and no glob qualifiers are allowed.
In each of the above expressions, if In each of the above expressions, if
var(file) is of the form `tt(/dev/fd/)var(n)', var(file) is of the form `tt(/dev/fd/)var(n)',
where var(n) is an integer, where var(n) is an integer,
@ -156,3 +170,14 @@ then the test applied to the open file whose
descriptor number is var(n), descriptor number is var(n),
even if the underlying system does not support even if the underlying system does not support
the tt(/dev/fd) directory. the tt(/dev/fd) directory.
In the forms which do numeric comparison, the expressions var(exp)
undergo arithmetic expansion as if they were enclosed in tt($((...))).
For example, the following:
example([[ ( -f foo || -f bar ) && $report = y* ]] && print File exists.)
tests if either file tt(foo) or file tt(bar) exists, and if so, if the
value of the parameter tt(report) begins with `tt(y)'; if the complete
condition is true, the message `tt(File exists.)' is printed.

View file

@ -1,4 +1,3 @@
# $Id: is-at-least,v 1.2 2000/04/01 20:49:47 pws Exp $ -*- shell-script -*-
# #
# Test whether $ZSH_VERSION (or some value of your choice, if a second argument # Test whether $ZSH_VERSION (or some value of your choice, if a second argument
# is provided) is greater than or equal to x.y.z-r (in argument one). In fact, # is provided) is greater than or equal to x.y.z-r (in argument one). In fact,