Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _print



This changes _print to reflect Peter's additions to the builtin in 17940.
Also, _ulimit was missing the -u and -v options and a minor change to
_read resulting from the changed builtin argument code.

Oliver

Index: Completion/Zsh/Command/_print
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_print,v
retrieving revision 1.2
diff -u -r1.2 _print
--- Completion/Zsh/Command/_print	8 Oct 2001 10:47:47 -0000	1.2
+++ Completion/Zsh/Command/_print	22 Nov 2002 11:33:54 -0000
@@ -14,7 +14,7 @@
   '(-r -b -f -m -s -l -N -o -O -i -c -u -p -z -D -P)-R[emulate BSD echo (no escapes, -n & -e flags only)]' \
   '-b[recognise bindkey escape sequences]' \
   '-m[remove arguments matching specified pattern]' \
-  '(-r -n -R -l -N -c)-f[print arguments as for the printf builtin]:format' \
+  '(-r -n -R -l -N -c)-f+[print arguments as for the printf builtin]:format' \
   '(-u -p -z)-s[place results in the history list]' \
   '(-c -f)-n[do not add a newline to the result]' \
   '(-N -c -f)-l[print arguments separated by newlines]' \
@@ -22,7 +22,9 @@
   '(-O)-o[sort arguments in ascending order]' \
   '(-o)-O[sort arguments in descending order]' \
   '-i[case-insensitive sorting]' \
-  '(-n -l -N -f)-c[print arguments in columns]' \
+  '(-n -l -N -f -s -z)-a[with -c/-C, print arguments across before down]' \
+  '(-n -l -N -f -C -s -z)-c[print arguments in columns]' \
+  '(-n -l -N -f -c -s -z)-C+[print arguments in specified number of columns]:columns' \
   '(-s -p -z)-u+[specify file-descriptor to print arguments to]:file-descriptor:_file_descriptors' \
   '(-s -p -u)-z[push arguments onto editing buffer stack]' \
   '-D[substitute any arguments which are named directories using ~ notation]' \
Index: Completion/Zsh/Command/_read
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_read,v
retrieving revision 1.2
diff -u -r1.2 _read
--- Completion/Zsh/Command/_read	23 Aug 2002 10:23:07 -0000	1.2
+++ Completion/Zsh/Command/_read	22 Nov 2002 11:33:54 -0000
@@ -9,7 +9,7 @@
 _arguments -s -A "-*" -S \
   '-r[raw mode]' \
   '(-p -k -s -u -z)-q[read y or n character from terminal]' \
-  '(-q)-k[specify number of characters to read]:number of characters' \
+  '(-q)-k+[specify number of characters to read]:number of characters' \
   '(-q -s -u -p)-z[read entry from editor buffer stack]' \
   '(-E)-e[input read is echoed and not assigned]' \
   '(-e)-E[input read is echoed]' \
Index: Completion/Zsh/Command/_ulimit
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_ulimit,v
retrieving revision 1.1
diff -u -r1.1 _ulimit
--- Completion/Zsh/Command/_ulimit	3 Apr 2001 21:13:10 -0000	1.1
+++ Completion/Zsh/Command/_ulimit	22 Nov 2002 11:33:54 -0000
@@ -14,4 +14,6 @@
   '-n[maximum no. of open file descriptors]:maximum no. of open file descriptors' \
   '-s[stack size limit]:stack size limit (K-bytes)' \
   '-t[maximum cpu time per process]:maximum cpu time per process (seconds)' \
+  '-u[processes available to the user]:processes' \
+  '-v[maximum size of virtual memory]:maximum size of virtual memory (K-bytes)' \
   '*:size of largest file allowed'

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.




Messages sorted by: Reverse Date, Date, Thread, Author