home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume35 / zsh / part22 < prev    next >
Text File  |  1993-02-20  |  30KB  |  825 lines

  1. Newsgroups: comp.sources.misc
  2. From: zsh-list@cs.uow.edu.au (The Zsh Mailing List)
  3. Subject: v35i072:  zsh - The Z Shell, version 2.3.1, Part22/22
  4. Message-ID: <1993Feb20.212957.29683@sparky.imd.sterling.com>
  5. X-Md4-Signature: 24207d364cf40a5cab4565cfbb3ac370
  6. Date: Sat, 20 Feb 1993 21:29:57 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: zsh-list@cs.uow.edu.au (The Zsh Mailing List)
  10. Posting-number: Volume 35, Issue 72
  11. Archive-name: zsh/part22
  12. Environment: UNIX
  13. Supersedes: zsh2.2: Volume 29, Issue 97-113
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then feed it
  17. # into a shell via "sh file" or similar.  To overwrite existing files,
  18. # type "sh file -c".
  19. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  20. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  21. # Contents:  dots/zlogin dots/zshenv func/acx func/cx func/harden
  22. #   func/mere func/proto func/randline func/yp func/yu help/bg
  23. #   help/break help/builtin help/chpwd help/continue help/coproc
  24. #   help/disable help/disown help/echotc help/enable help/eval
  25. #   help/exit help/export help/fg help/getln help/hash help/jobs
  26. #   help/let help/log help/periodic help/precmd help/readonly
  27. #   help/rehash help/repeat help/return help/sched help/shift
  28. #   help/suspend help/test help/time help/times help/umask
  29. #   help/unfunction help/unlimit help/until help/vared help/wait
  30. #   help/while src/version.h
  31. # Wrapped by mattson@odin on Sat Feb  6 14:41:56 1993
  32. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  33. echo If this archive is complete, you will see the following message:
  34. echo '          "shar: End of archive 22 (of 22)."'
  35. if test -f 'dots/zlogin' -a "${1}" != "-c" ; then 
  36.   echo shar: Will not clobber existing file \"'dots/zlogin'\"
  37. else
  38.   echo shar: Extracting \"'dots/zlogin'\" \(247 characters\)
  39.   sed "s/^X//" >'dots/zlogin' <<'END_OF_FILE'
  40. Xclear
  41. Xcd
  42. Xstty dec new cr0 -tabs
  43. Xttyctl -f  # freeze the terminal modes... can't change without a ttyctl -u
  44. Xumask 022
  45. Xexport MAIL=/usr/spool/mail/$USER
  46. XMAILCHECK=60
  47. Xmesg y
  48. Xuptime
  49. Xfortune
  50. Xlog
  51. Xfrom 2>/dev/null
  52. Xcat notes
  53. Xunlimit
  54. Xlimit core 0
  55. Xmsgs -fp
  56. END_OF_FILE
  57.   if test 247 -ne `wc -c <'dots/zlogin'`; then
  58.     echo shar: \"'dots/zlogin'\" unpacked with wrong size!
  59.   fi
  60.   # end of 'dots/zlogin'
  61. fi
  62. if test -f 'dots/zshenv' -a "${1}" != "-c" ; then 
  63.   echo shar: Will not clobber existing file \"'dots/zshenv'\"
  64. else
  65.   echo shar: Extracting \"'dots/zshenv'\" \(123 characters\)
  66.   sed "s/^X//" >'dots/zshenv' <<'END_OF_FILE'
  67. Xpath=(~/scr ~/bin/$HOSTTYPE
  68. X    /usr/princeton/bin /usr/ucb /usr/bin /bin
  69. X    /usr/hosts /usr/princeton/bin/X11 /usr/etc /etc .)
  70. END_OF_FILE
  71.   if test 123 -ne `wc -c <'dots/zshenv'`; then
  72.     echo shar: \"'dots/zshenv'\" unpacked with wrong size!
  73.   fi
  74.   # end of 'dots/zshenv'
  75. fi
  76. if test -f 'func/acx' -a "${1}" != "-c" ; then 
  77.   echo shar: Will not clobber existing file \"'func/acx'\"
  78. else
  79.   echo shar: Extracting \"'func/acx'\" \(104 characters\)
  80.   sed "s/^X//" >'func/acx' <<'END_OF_FILE'
  81. X#! /bin/sh
  82. X#
  83. X# zsh shell function to make its arguments 755
  84. X# also works as an sh script
  85. X#
  86. Xchmod 755 $*
  87. END_OF_FILE
  88.   if test 104 -ne `wc -c <'func/acx'`; then
  89.     echo shar: \"'func/acx'\" unpacked with wrong size!
  90.   fi
  91.   chmod +x 'func/acx'
  92.   # end of 'func/acx'
  93. fi
  94. if test -f 'func/cx' -a "${1}" != "-c" ; then 
  95.   echo shar: Will not clobber existing file \"'func/cx'\"
  96. else
  97.   echo shar: Extracting \"'func/cx'\" \(109 characters\)
  98.   sed "s/^X//" >'func/cx' <<'END_OF_FILE'
  99. X#! /bin/sh
  100. X#
  101. X# zsh shell function to make its arguments executable
  102. X# also works as a sh script
  103. X#
  104. Xchmod +x $*
  105. END_OF_FILE
  106.   if test 109 -ne `wc -c <'func/cx'`; then
  107.     echo shar: \"'func/cx'\" unpacked with wrong size!
  108.   fi
  109.   chmod +x 'func/cx'
  110.   # end of 'func/cx'
  111. fi
  112. if test -f 'func/harden' -a "${1}" != "-c" ; then 
  113.   echo shar: Will not clobber existing file \"'func/harden'\"
  114. else
  115.   echo shar: Extracting \"'func/harden'\" \(97 characters\)
  116.   sed "s/^X//" >'func/harden' <<'END_OF_FILE'
  117. X#! /bin/sh
  118. X# harden a link (convert it to a singly linked file)
  119. Xcp $1 $1.foo
  120. Xrm $1
  121. Xmv $1.foo $1
  122. X
  123. END_OF_FILE
  124.   if test 97 -ne `wc -c <'func/harden'`; then
  125.     echo shar: \"'func/harden'\" unpacked with wrong size!
  126.   fi
  127.   chmod +x 'func/harden'
  128.   # end of 'func/harden'
  129. fi
  130. if test -f 'func/mere' -a "${1}" != "-c" ; then 
  131.   echo shar: Will not clobber existing file \"'func/mere'\"
  132. else
  133.   echo shar: Extracting \"'func/mere'\" \(84 characters\)
  134.   sed "s/^X//" >'func/mere' <<'END_OF_FILE'
  135. X#! /bin/sh
  136. X# read a man page in the current directory
  137. Xnroff -man -Tman $1 | less -s
  138. END_OF_FILE
  139.   if test 84 -ne `wc -c <'func/mere'`; then
  140.     echo shar: \"'func/mere'\" unpacked with wrong size!
  141.   fi
  142.   chmod +x 'func/mere'
  143.   # end of 'func/mere'
  144. fi
  145. if test -f 'func/proto' -a "${1}" != "-c" ; then 
  146.   echo shar: Will not clobber existing file \"'func/proto'\"
  147. else
  148.   echo shar: Extracting \"'func/proto'\" \(194 characters\)
  149.   sed "s/^X//" >'func/proto' <<'END_OF_FILE'
  150. X#! /bin/sh
  151. X# generate prototypes, if your style is the same as mine
  152. Xfor i
  153. Xdo
  154. X    rm $i:r.pro 2>/dev/null
  155. X    grep -v '[{};:#]' $i | grep '^[A-Za-z]' |
  156. X        grep -v static | sed 's/$/;/' >! $i:r.pro
  157. Xdone
  158. END_OF_FILE
  159.   if test 194 -ne `wc -c <'func/proto'`; then
  160.     echo shar: \"'func/proto'\" unpacked with wrong size!
  161.   fi
  162.   chmod +x 'func/proto'
  163.   # end of 'func/proto'
  164. fi
  165. if test -f 'func/randline' -a "${1}" != "-c" ; then 
  166.   echo shar: Will not clobber existing file \"'func/randline'\"
  167. else
  168.   echo shar: Extracting \"'func/randline'\" \(80 characters\)
  169.   sed "s/^X//" >'func/randline' <<'END_OF_FILE'
  170. X# get a random line from a file
  171. Xinteger z=$(wc -l <$1)
  172. Xsed -n $[RANDOM%z+1]p $1
  173. END_OF_FILE
  174.   if test 80 -ne `wc -c <'func/randline'`; then
  175.     echo shar: \"'func/randline'\" unpacked with wrong size!
  176.   fi
  177.   chmod +x 'func/randline'
  178.   # end of 'func/randline'
  179. fi
  180. if test -f 'func/yp' -a "${1}" != "-c" ; then 
  181.   echo shar: Will not clobber existing file \"'func/yp'\"
  182. else
  183.   echo shar: Extracting \"'func/yp'\" \(29 characters\)
  184.   sed "s/^X//" >'func/yp' <<'END_OF_FILE'
  185. X#! /bin/sh
  186. Xypmatch $1 passwd
  187. END_OF_FILE
  188.   if test 29 -ne `wc -c <'func/yp'`; then
  189.     echo shar: \"'func/yp'\" unpacked with wrong size!
  190.   fi
  191.   chmod +x 'func/yp'
  192.   # end of 'func/yp'
  193. fi
  194. if test -f 'func/yu' -a "${1}" != "-c" ; then 
  195.   echo shar: Will not clobber existing file \"'func/yu'\"
  196. else
  197.   echo shar: Extracting \"'func/yu'\" \(35 characters\)
  198.   sed "s/^X//" >'func/yu' <<'END_OF_FILE'
  199. X#! /bin/sh
  200. Xypmatch $1 passwd.byuid
  201. END_OF_FILE
  202.   if test 35 -ne `wc -c <'func/yu'`; then
  203.     echo shar: \"'func/yu'\" unpacked with wrong size!
  204.   fi
  205.   chmod +x 'func/yu'
  206.   # end of 'func/yu'
  207. fi
  208. if test -f 'help/bg' -a "${1}" != "-c" ; then 
  209.   echo shar: Will not clobber existing file \"'help/bg'\"
  210. else
  211.   echo shar: Extracting \"'help/bg'\" \(145 characters\)
  212.   sed "s/^X//" >'help/bg' <<'END_OF_FILE'
  213. X     bg [ job ... ]
  214. X     job ... &
  215. X          Put each  specified  job  in  the  background,  or  the
  216. X          current job if none is specified.
  217. END_OF_FILE
  218.   if test 145 -ne `wc -c <'help/bg'`; then
  219.     echo shar: \"'help/bg'\" unpacked with wrong size!
  220.   fi
  221.   # end of 'help/bg'
  222. fi
  223. if test -f 'help/break' -a "${1}" != "-c" ; then 
  224.   echo shar: Will not clobber existing file \"'help/break'\"
  225. else
  226.   echo shar: Extracting \"'help/break'\" \(180 characters\)
  227.   sed "s/^X//" >'help/break' <<'END_OF_FILE'
  228. X     break [ n ]
  229. X          Exit from an enclosing for, while,  until,  select,  or
  230. X          repeat  loop.   If  n is specified, then break n levels
  231. X          instead of just one.
  232. END_OF_FILE
  233.   if test 180 -ne `wc -c <'help/break'`; then
  234.     echo shar: \"'help/break'\" unpacked with wrong size!
  235.   fi
  236.   # end of 'help/break'
  237. fi
  238. if test -f 'help/builtin' -a "${1}" != "-c" ; then 
  239.   echo shar: Will not clobber existing file \"'help/builtin'\"
  240. else
  241.   echo shar: Extracting \"'help/builtin'\" \(89 characters\)
  242.   sed "s/^X//" >'help/builtin' <<'END_OF_FILE'
  243. X     builtin name [ args ] ...
  244. X          Executes the builtin name, with the given args.
  245. END_OF_FILE
  246.   if test 89 -ne `wc -c <'help/builtin'`; then
  247.     echo shar: \"'help/builtin'\" unpacked with wrong size!
  248.   fi
  249.   # end of 'help/builtin'
  250. fi
  251. if test -f 'help/chpwd' -a "${1}" != "-c" ; then 
  252.   echo shar: Will not clobber existing file \"'help/chpwd'\"
  253. else
  254.   echo shar: Extracting \"'help/chpwd'\" \(96 characters\)
  255.   sed "s/^X//" >'help/chpwd' <<'END_OF_FILE'
  256. X     chpwd
  257. X          Executed whenever  the  current  working  directory  is
  258. X          changed.
  259. END_OF_FILE
  260.   if test 96 -ne `wc -c <'help/chpwd'`; then
  261.     echo shar: \"'help/chpwd'\" unpacked with wrong size!
  262.   fi
  263.   # end of 'help/chpwd'
  264. fi
  265. if test -f 'help/continue' -a "${1}" != "-c" ; then 
  266.   echo shar: Will not clobber existing file \"'help/continue'\"
  267. else
  268.   echo shar: Extracting \"'help/continue'\" \(240 characters\)
  269.   sed "s/^X//" >'help/continue' <<'END_OF_FILE'
  270. X     continue [ num ]
  271. X          Resume the next iteration of the enclosing for,  while,
  272. X          until,  select,  or  repeat  loop.   If n is specified,
  273. X          break out of n - 1 loops and resume at the nth  enclos-
  274. X          ing loop.
  275. END_OF_FILE
  276.   if test 240 -ne `wc -c <'help/continue'`; then
  277.     echo shar: \"'help/continue'\" unpacked with wrong size!
  278.   fi
  279.   # end of 'help/continue'
  280. fi
  281. if test -f 'help/coproc' -a "${1}" != "-c" ; then 
  282.   echo shar: Will not clobber existing file \"'help/coproc'\"
  283. else
  284.   echo shar: Extracting \"'help/coproc'\" \(264 characters\)
  285.   sed "s/^X//" >'help/coproc' <<'END_OF_FILE'
  286. X     If a pipeline is preceded by coproc, it  is  executed  as  a
  287. X     coprocess;  a two-way pipe is established between it and the
  288. X     parent shell.  The shell can  read  from  or  write  to  the
  289. X     coprocess by means of the >&p and <&p redirection operators.
  290. END_OF_FILE
  291.   if test 264 -ne `wc -c <'help/coproc'`; then
  292.     echo shar: \"'help/coproc'\" unpacked with wrong size!
  293.   fi
  294.   # end of 'help/coproc'
  295. fi
  296. if test -f 'help/disable' -a "${1}" != "-c" ; then 
  297.   echo shar: Will not clobber existing file \"'help/disable'\"
  298. else
  299.   echo shar: Extracting \"'help/disable'\" \(269 characters\)
  300.   sed "s/^X//" >'help/disable' <<'END_OF_FILE'
  301. X     disable arg ...
  302. X          Disable the builtin arg temporarily.  This  allows  you
  303. X          to  use  an  external  command  with the same name as a
  304. X          shell builtin.  Actually the same as unhash.   Builtins
  305. X          can be enabled with the enable command.
  306. END_OF_FILE
  307.   if test 269 -ne `wc -c <'help/disable'`; then
  308.     echo shar: \"'help/disable'\" unpacked with wrong size!
  309.   fi
  310.   # end of 'help/disable'
  311. fi
  312. if test -f 'help/disown' -a "${1}" != "-c" ; then 
  313.   echo shar: Will not clobber existing file \"'help/disown'\"
  314. else
  315.   echo shar: Extracting \"'help/disown'\" \(248 characters\)
  316.   sed "s/^X//" >'help/disown' <<'END_OF_FILE'
  317. X     disown job ...
  318. X          Remove the specified jobs from the job table; the shell
  319. X          will  no  longer report their status, and will not com-
  320. X          plain if you try to exit an interactive shell with them
  321. X          running or stopped.
  322. END_OF_FILE
  323.   if test 248 -ne `wc -c <'help/disown'`; then
  324.     echo shar: \"'help/disown'\" unpacked with wrong size!
  325.   fi
  326.   # end of 'help/disown'
  327. fi
  328. if test -f 'help/echotc' -a "${1}" != "-c" ; then 
  329.   echo shar: Will not clobber existing file \"'help/echotc'\"
  330. else
  331.   echo shar: Extracting \"'help/echotc'\" \(138 characters\)
  332.   sed "s/^X//" >'help/echotc' <<'END_OF_FILE'
  333. X     echotc cap [ arg ... ]
  334. X          Output the termcap string corresponding to the capabil-
  335. X          ity cap, with optional arguments.
  336. END_OF_FILE
  337.   if test 138 -ne `wc -c <'help/echotc'`; then
  338.     echo shar: \"'help/echotc'\" unpacked with wrong size!
  339.   fi
  340.   # end of 'help/echotc'
  341. fi
  342. if test -f 'help/enable' -a "${1}" != "-c" ; then 
  343.   echo shar: Will not clobber existing file \"'help/enable'\"
  344. else
  345.   echo shar: Extracting \"'help/enable'\" \(124 characters\)
  346.   sed "s/^X//" >'help/enable' <<'END_OF_FILE'
  347. X     enable arg ...
  348. X          Enable the specified builtin commands, presumably  dis-
  349. X          abled earlier with disable.
  350. END_OF_FILE
  351.   if test 124 -ne `wc -c <'help/enable'`; then
  352.     echo shar: \"'help/enable'\" unpacked with wrong size!
  353.   fi
  354.   # end of 'help/enable'
  355. fi
  356. if test -f 'help/eval' -a "${1}" != "-c" ; then 
  357.   echo shar: Will not clobber existing file \"'help/eval'\"
  358. else
  359.   echo shar: Extracting \"'help/eval'\" \(153 characters\)
  360.   sed "s/^X//" >'help/eval' <<'END_OF_FILE'
  361. X     eval [ arg ... ]
  362. X          Read the arguments as input to the  shell  and  execute
  363. X          the resulting command(s) in the current shell process.
  364. END_OF_FILE
  365.   if test 153 -ne `wc -c <'help/eval'`; then
  366.     echo shar: \"'help/eval'\" unpacked with wrong size!
  367.   fi
  368.   # end of 'help/eval'
  369. fi
  370. if test -f 'help/exit' -a "${1}" != "-c" ; then 
  371.   echo shar: Will not clobber existing file \"'help/exit'\"
  372. else
  373.   echo shar: Extracting \"'help/exit'\" \(275 characters\)
  374.   sed "s/^X//" >'help/exit' <<'END_OF_FILE'
  375. X     exit [ n ]
  376. X          Exit the shell with the exit code specified  by  n;  if
  377. X          none is specified, use the exit code from the last com-
  378. X          mand executed.  An EOF condition will  also  cause  the
  379. X          shell to exit, unless the IGNOREEOF option is set.
  380. END_OF_FILE
  381.   if test 275 -ne `wc -c <'help/exit'`; then
  382.     echo shar: \"'help/exit'\" unpacked with wrong size!
  383.   fi
  384.   # end of 'help/exit'
  385. fi
  386. if test -f 'help/export' -a "${1}" != "-c" ; then 
  387.   echo shar: Will not clobber existing file \"'help/export'\"
  388. else
  389.   echo shar: Extracting \"'help/export'\" \(160 characters\)
  390.   sed "s/^X//" >'help/export' <<'END_OF_FILE'
  391. X     export [ name[=value] ... ]
  392. X          The specified names are marked for automatic export  to
  393. X          the environment of subsequently executed commands.
  394. END_OF_FILE
  395.   if test 160 -ne `wc -c <'help/export'`; then
  396.     echo shar: \"'help/export'\" unpacked with wrong size!
  397.   fi
  398.   # end of 'help/export'
  399. fi
  400. if test -f 'help/fg' -a "${1}" != "-c" ; then 
  401.   echo shar: Will not clobber existing file \"'help/fg'\"
  402. else
  403.   echo shar: Extracting \"'help/fg'\" \(144 characters\)
  404.   sed "s/^X//" >'help/fg' <<'END_OF_FILE'
  405. X     fg [ job ... ]
  406. X     job ...
  407. X          Bring the specified jobs to the foreground.  If no  job
  408. X          is specified, use the current job.
  409. END_OF_FILE
  410.   if test 144 -ne `wc -c <'help/fg'`; then
  411.     echo shar: \"'help/fg'\" unpacked with wrong size!
  412.   fi
  413.   # end of 'help/fg'
  414. fi
  415. if test -f 'help/getln' -a "${1}" != "-c" ; then 
  416.   echo shar: Will not clobber existing file \"'help/getln'\"
  417. else
  418.   echo shar: Extracting \"'help/getln'\" \(147 characters\)
  419.   sed "s/^X//" >'help/getln' <<'END_OF_FILE'
  420. X     getln name ...
  421. X          Read the top value from the buffer stack and put it  in
  422. X          the shell parameter name.  Equivalent to read -zr.
  423. END_OF_FILE
  424.   if test 147 -ne `wc -c <'help/getln'`; then
  425.     echo shar: \"'help/getln'\" unpacked with wrong size!
  426.   fi
  427.   # end of 'help/getln'
  428. fi
  429. if test -f 'help/hash' -a "${1}" != "-c" ; then 
  430.   echo shar: Will not clobber existing file \"'help/hash'\"
  431. else
  432.   echo shar: Extracting \"'help/hash'\" \(362 characters\)
  433.   sed "s/^X//" >'help/hash' <<'END_OF_FILE'
  434. X     hash name path
  435. X          Puts name in the command  hash  table,  associating  it
  436. X          with  the  pathname  path.   Whenever name is used as a
  437. X          command argument, the shell will  try  to  execute  the
  438. X          file given by path.
  439. X     unhash name ...
  440. X          The entry in the command hash table, if any,  for  each
  441. X          name is removed.
  442. END_OF_FILE
  443.   if test 362 -ne `wc -c <'help/hash'`; then
  444.     echo shar: \"'help/hash'\" unpacked with wrong size!
  445.   fi
  446.   # end of 'help/hash'
  447. fi
  448. if test -f 'help/jobs' -a "${1}" != "-c" ; then 
  449.   echo shar: Will not clobber existing file \"'help/jobs'\"
  450. else
  451.   echo shar: Extracting \"'help/jobs'\" \(202 characters\)
  452.   sed "s/^X//" >'help/jobs' <<'END_OF_FILE'
  453. X     jobs [ -lp ] [ job ... ]
  454. X          Lists information about each given job, or all jobs  if
  455. X          job is omitted.  The -l flag lists process ids, and the
  456. X          -p flag lists process groups.
  457. END_OF_FILE
  458.   if test 202 -ne `wc -c <'help/jobs'`; then
  459.     echo shar: \"'help/jobs'\" unpacked with wrong size!
  460.   fi
  461.   # end of 'help/jobs'
  462. fi
  463. if test -f 'help/let' -a "${1}" != "-c" ; then 
  464.   echo shar: Will not clobber existing file \"'help/let'\"
  465. else
  466.   echo shar: Extracting \"'help/let'\" \(277 characters\)
  467.   sed "s/^X//" >'help/let' <<'END_OF_FILE'
  468. X     let arg ...
  469. X          Evaluate each arg as  an  arithmetic  expression.   See
  470. X          ARITHMETIC EVALUATION above for a description of arith-
  471. X          metic expressions.  The exit status is 0 if  the  value
  472. X          of the last expression is nonzero, and 1 otherwise.
  473. END_OF_FILE
  474.   if test 277 -ne `wc -c <'help/let'`; then
  475.     echo shar: \"'help/let'\" unpacked with wrong size!
  476.   fi
  477.   # end of 'help/let'
  478. fi
  479. if test -f 'help/log' -a "${1}" != "-c" ; then 
  480.   echo shar: Will not clobber existing file \"'help/log'\"
  481. else
  482.   echo shar: Extracting \"'help/log'\" \(120 characters\)
  483.   sed "s/^X//" >'help/log' <<'END_OF_FILE'
  484. X     log  List all users currently logged in who are affected  by
  485. X          the current setting of the watch parameter.
  486. END_OF_FILE
  487.   if test 120 -ne `wc -c <'help/log'`; then
  488.     echo shar: \"'help/log'\" unpacked with wrong size!
  489.   fi
  490.   # end of 'help/log'
  491. fi
  492. if test -f 'help/periodic' -a "${1}" != "-c" ; then 
  493.   echo shar: Will not clobber existing file \"'help/periodic'\"
  494. else
  495.   echo shar: Extracting \"'help/periodic'\" \(140 characters\)
  496.   sed "s/^X//" >'help/periodic' <<'END_OF_FILE'
  497. X     periodic
  498. X          If the parameter PERIOD is set, this function  is  exe-
  499. X          cuted every PERIOD seconds, just before a prompt.
  500. END_OF_FILE
  501.   if test 140 -ne `wc -c <'help/periodic'`; then
  502.     echo shar: \"'help/periodic'\" unpacked with wrong size!
  503.   fi
  504.   # end of 'help/periodic'
  505. fi
  506. if test -f 'help/precmd' -a "${1}" != "-c" ; then 
  507.   echo shar: Will not clobber existing file \"'help/precmd'\"
  508. else
  509.   echo shar: Extracting \"'help/precmd'\" \(51 characters\)
  510.   sed "s/^X//" >'help/precmd' <<'END_OF_FILE'
  511. X     precmd
  512. X          Executed before each prompt.
  513. END_OF_FILE
  514.   if test 51 -ne `wc -c <'help/precmd'`; then
  515.     echo shar: \"'help/precmd'\" unpacked with wrong size!
  516.   fi
  517.   # end of 'help/precmd'
  518. fi
  519. if test -f 'help/readonly' -a "${1}" != "-c" ; then 
  520.   echo shar: Will not clobber existing file \"'help/readonly'\"
  521. else
  522.   echo shar: Extracting \"'help/readonly'\" \(148 characters\)
  523.   sed "s/^X//" >'help/readonly' <<'END_OF_FILE'
  524. X     readonly [ name[=value] ] ...
  525. X          The given names are marked readonly; these names cannot
  526. X          be changed by subsequent assignment.
  527. END_OF_FILE
  528.   if test 148 -ne `wc -c <'help/readonly'`; then
  529.     echo shar: \"'help/readonly'\" unpacked with wrong size!
  530.   fi
  531.   # end of 'help/readonly'
  532. fi
  533. if test -f 'help/rehash' -a "${1}" != "-c" ; then 
  534.   echo shar: Will not clobber existing file \"'help/rehash'\"
  535. else
  536.   echo shar: Extracting \"'help/rehash'\" \(234 characters\)
  537.   sed "s/^X//" >'help/rehash' <<'END_OF_FILE'
  538. X     rehash [ -f ]
  539. X          Throw out the command hash table and  start  over.   If
  540. X          the  -f  option is set, rescan the command path immedi-
  541. X          ately, instead of rebuilding the hash  table  incremen-
  542. X          tally.
  543. END_OF_FILE
  544.   if test 234 -ne `wc -c <'help/rehash'`; then
  545.     echo shar: \"'help/rehash'\" unpacked with wrong size!
  546.   fi
  547.   # end of 'help/rehash'
  548. fi
  549. if test -f 'help/repeat' -a "${1}" != "-c" ; then 
  550.   echo shar: Will not clobber existing file \"'help/repeat'\"
  551. else
  552.   echo shar: Extracting \"'help/repeat'\" \(247 characters\)
  553.   sed "s/^X//" >'help/repeat' <<'END_OF_FILE'
  554. X      repeat word
  555. X      do list
  556. X      done word is expanded  and  treated  as  an  arithmetic
  557. X       expression,  which  must  evaluate  to a number n.
  558. X       list is then executed n times.
  559. X
  560. X      repeat word sublist
  561. X       This is a short form of repeat.
  562. END_OF_FILE
  563.   if test 247 -ne `wc -c <'help/repeat'`; then
  564.     echo shar: \"'help/repeat'\" unpacked with wrong size!
  565.   fi
  566.   # end of 'help/repeat'
  567. fi
  568. if test -f 'help/return' -a "${1}" != "-c" ; then 
  569.   echo shar: Will not clobber existing file \"'help/return'\"
  570. else
  571.   echo shar: Extracting \"'help/return'\" \(249 characters\)
  572.   sed "s/^X//" >'help/return' <<'END_OF_FILE'
  573. X     return [ n ]
  574. X          Causes a shell function or . script to  return  to  the
  575. X          invoking  script with the return status specified by n.
  576. X          If n is omitted then the return status is that  of  the
  577. X          last command executed.
  578. END_OF_FILE
  579.   if test 249 -ne `wc -c <'help/return'`; then
  580.     echo shar: \"'help/return'\" unpacked with wrong size!
  581.   fi
  582.   # end of 'help/return'
  583. fi
  584. if test -f 'help/sched' -a "${1}" != "-c" ; then 
  585.   echo shar: Will not clobber existing file \"'help/sched'\"
  586. else
  587.   echo shar: Extracting \"'help/sched'\" \(357 characters\)
  588.   sed "s/^X//" >'help/sched' <<'END_OF_FILE'
  589. X     sched [+]hh:mm command ...
  590. X     sched [ -item ]
  591. X          Make an entry in the scheduled list of commands to exe-
  592. X          cute.   The time may be specified in either absolute or
  593. X          relative time.  With no arguments, prints the  list  of
  594. X          scheduled  commands.   With the argument -item, removes
  595. X          the given item from the list.
  596. END_OF_FILE
  597.   if test 357 -ne `wc -c <'help/sched'`; then
  598.     echo shar: \"'help/sched'\" unpacked with wrong size!
  599.   fi
  600.   # end of 'help/sched'
  601. fi
  602. if test -f 'help/shift' -a "${1}" != "-c" ; then 
  603.   echo shar: Will not clobber existing file \"'help/shift'\"
  604. else
  605.   echo shar: Extracting \"'help/shift'\" \(149 characters\)
  606.   sed "s/^X//" >'help/shift' <<'END_OF_FILE'
  607. X     shift [ n ]
  608. X          The positional parameters from $n+1 ... are renamed $1,
  609. X          where n is an arithmetic expression that defaults to 1.
  610. END_OF_FILE
  611.   if test 149 -ne `wc -c <'help/shift'`; then
  612.     echo shar: \"'help/shift'\" unpacked with wrong size!
  613.   fi
  614.   # end of 'help/shift'
  615. fi
  616. if test -f 'help/suspend' -a "${1}" != "-c" ; then 
  617.   echo shar: Will not clobber existing file \"'help/suspend'\"
  618. else
  619.   echo shar: Extracting \"'help/suspend'\" \(204 characters\)
  620.   sed "s/^X//" >'help/suspend' <<'END_OF_FILE'
  621. X     suspend [ -f ]
  622. X          Suspend the execution of the shell (send it a  SIGTSTP)
  623. X          until  it  receives a SIGCONT.  If the -f option is not
  624. X          given, complain if this is a login shell.
  625. END_OF_FILE
  626.   if test 204 -ne `wc -c <'help/suspend'`; then
  627.     echo shar: \"'help/suspend'\" unpacked with wrong size!
  628.   fi
  629.   # end of 'help/suspend'
  630. fi
  631. if test -f 'help/test' -a "${1}" != "-c" ; then 
  632.   echo shar: Will not clobber existing file \"'help/test'\"
  633. else
  634.   echo shar: Extracting \"'help/test'\" \(153 characters\)
  635.   sed "s/^X//" >'help/test' <<'END_OF_FILE'
  636. X     test arg ...
  637. X     [ arg ... ]
  638. X          Like the system version of test.  Added for compatibil-
  639. X          ity; use conditional expressions instead.
  640. END_OF_FILE
  641.   if test 153 -ne `wc -c <'help/test'`; then
  642.     echo shar: \"'help/test'\" unpacked with wrong size!
  643.   fi
  644.   # end of 'help/test'
  645. fi
  646. if test -f 'help/time' -a "${1}" != "-c" ; then 
  647.   echo shar: Will not clobber existing file \"'help/time'\"
  648. else
  649.   echo shar: Extracting \"'help/time'\" \(271 characters\)
  650.   sed "s/^X//" >'help/time' <<'END_OF_FILE'
  651. X      time [ pipeline ]
  652. X       The pipeline is executed,  and  timing  statistics
  653. X       are  reported  on  the  standard error in the form
  654. X       specified by the TIMEFMT parameter.   If  pipeline
  655. X       is  omitted, print statistics about the shell pro-
  656. X       cess and its children.
  657. END_OF_FILE
  658.   if test 271 -ne `wc -c <'help/time'`; then
  659.     echo shar: \"'help/time'\" unpacked with wrong size!
  660.   fi
  661.   # end of 'help/time'
  662. fi
  663. if test -f 'help/times' -a "${1}" != "-c" ; then 
  664.   echo shar: Will not clobber existing file \"'help/times'\"
  665. else
  666.   echo shar: Extracting \"'help/times'\" \(131 characters\)
  667.   sed "s/^X//" >'help/times' <<'END_OF_FILE'
  668. X     times
  669. X          Print the accumulated user and  system  times  for  the
  670. X          shell and for processes run from the shell.
  671. END_OF_FILE
  672.   if test 131 -ne `wc -c <'help/times'`; then
  673.     echo shar: \"'help/times'\" unpacked with wrong size!
  674.   fi
  675.   # end of 'help/times'
  676. fi
  677. if test -f 'help/umask' -a "${1}" != "-c" ; then 
  678.   echo shar: Will not clobber existing file \"'help/umask'\"
  679. else
  680.   echo shar: Extracting \"'help/umask'\" \(212 characters\)
  681.   sed "s/^X//" >'help/umask' <<'END_OF_FILE'
  682. X     umask [ mask ]
  683. X          The umask is set to mask.  mask can be either an  octal
  684. X          number  or  a  symbolic value as described in chmod(1).
  685. X          If mask is omitted, the current value is printed.
  686. END_OF_FILE
  687.   if test 212 -ne `wc -c <'help/umask'`; then
  688.     echo shar: \"'help/umask'\" unpacked with wrong size!
  689.   fi
  690.   # end of 'help/umask'
  691. fi
  692. if test -f 'help/unfunction' -a "${1}" != "-c" ; then 
  693.   echo shar: Will not clobber existing file \"'help/unfunction'\"
  694. else
  695.   echo shar: Extracting \"'help/unfunction'\" \(110 characters\)
  696.   sed "s/^X//" >'help/unfunction' <<'END_OF_FILE'
  697. X     unfunction name ...
  698. X          The function definition,  if  any,  for  each  name  is
  699. X          removed.
  700. END_OF_FILE
  701.   if test 110 -ne `wc -c <'help/unfunction'`; then
  702.     echo shar: \"'help/unfunction'\" unpacked with wrong size!
  703.   fi
  704.   # end of 'help/unfunction'
  705. fi
  706. if test -f 'help/unlimit' -a "${1}" != "-c" ; then 
  707.   echo shar: Will not clobber existing file \"'help/unlimit'\"
  708. else
  709.   echo shar: Extracting \"'help/unlimit'\" \(253 characters\)
  710.   sed "s/^X//" >'help/unlimit' <<'END_OF_FILE'
  711. X     unlimit [ -h ] resource ...
  712. X          The resource limit for each resource is set to the hard
  713. X          limit.   If  the -h flag is given and the shell is run-
  714. X          ning as root, the hard resource limit for each resource
  715. X          is removed.
  716. END_OF_FILE
  717.   if test 253 -ne `wc -c <'help/unlimit'`; then
  718.     echo shar: \"'help/unlimit'\" unpacked with wrong size!
  719.   fi
  720.   # end of 'help/unlimit'
  721. fi
  722. if test -f 'help/until' -a "${1}" != "-c" ; then 
  723.   echo shar: Will not clobber existing file \"'help/until'\"
  724. else
  725.   echo shar: Extracting \"'help/until'\" \(120 characters\)
  726.   sed "s/^X//" >'help/until' <<'END_OF_FILE'
  727. X      until list
  728. X      do list
  729. X      done Execute the do list as long as until list  returns
  730. X       a nonzero exit status.
  731. END_OF_FILE
  732.   if test 120 -ne `wc -c <'help/until'`; then
  733.     echo shar: \"'help/until'\" unpacked with wrong size!
  734.   fi
  735.   # end of 'help/until'
  736. fi
  737. if test -f 'help/vared' -a "${1}" != "-c" ; then 
  738.   echo shar: Will not clobber existing file \"'help/vared'\"
  739. else
  740.   echo shar: Extracting \"'help/vared'\" \(236 characters\)
  741.   sed "s/^X//" >'help/vared' <<'END_OF_FILE'
  742. X     vared name
  743. X          The value of the parameter name is loaded into the edit
  744. X          buffer,  and the line editor is invoked.  When the edi-
  745. X          tor exits, name is set to the string value returned  by
  746. X          the editor.
  747. END_OF_FILE
  748.   if test 236 -ne `wc -c <'help/vared'`; then
  749.     echo shar: \"'help/vared'\" unpacked with wrong size!
  750.   fi
  751.   # end of 'help/vared'
  752. fi
  753. if test -f 'help/wait' -a "${1}" != "-c" ; then 
  754.   echo shar: Will not clobber existing file \"'help/wait'\"
  755. else
  756.   echo shar: Extracting \"'help/wait'\" \(352 characters\)
  757.   sed "s/^X//" >'help/wait' <<'END_OF_FILE'
  758. X     wait [ job ... ]
  759. X          Wait for the specified jobs or processes.   If  job  is
  760. X          not given then all currently active child processes are
  761. X          waited for.  Each job can be either a job specification
  762. X          or  the process-id of a job in the job table.  The exit
  763. X          status from this command is that of the job waited for.
  764. END_OF_FILE
  765.   if test 352 -ne `wc -c <'help/wait'`; then
  766.     echo shar: \"'help/wait'\" unpacked with wrong size!
  767.   fi
  768.   # end of 'help/wait'
  769. fi
  770. if test -f 'help/while' -a "${1}" != "-c" ; then 
  771.   echo shar: Will not clobber existing file \"'help/while'\"
  772. else
  773.   echo shar: Extracting \"'help/while'\" \(199 characters\)
  774.   sed "s/^X//" >'help/while' <<'END_OF_FILE'
  775. X      while list
  776. X      do list
  777. X      done Execute the do list as  long  as  the  while  list
  778. X       returns a zero exit status.
  779. X
  780. X      while ( list ) {
  781. X      list
  782. X      }    An alternate form of while.
  783. END_OF_FILE
  784.   if test 199 -ne `wc -c <'help/while'`; then
  785.     echo shar: \"'help/while'\" unpacked with wrong size!
  786.   fi
  787.   # end of 'help/while'
  788. fi
  789. if test -f 'src/version.h' -a "${1}" != "-c" ; then 
  790.   echo shar: Will not clobber existing file \"'src/version.h'\"
  791. else
  792.   echo shar: Extracting \"'src/version.h'\" \(32 characters\)
  793.   sed "s/^X//" >'src/version.h' <<'END_OF_FILE'
  794. X#define VERSIONSTR "zsh v2.3.1"
  795. END_OF_FILE
  796.   if test 32 -ne `wc -c <'src/version.h'`; then
  797.     echo shar: \"'src/version.h'\" unpacked with wrong size!
  798.   fi
  799.   # end of 'src/version.h'
  800. fi
  801. echo shar: End of archive 22 \(of 22\).
  802. cp /dev/null ark22isdone
  803. MISSING=""
  804. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 ; do
  805.     if test ! -f ark${I}isdone ; then
  806.     MISSING="${MISSING} ${I}"
  807.     fi
  808. done
  809. if test "${MISSING}" = "" ; then
  810.     echo You have unpacked all 22 archives.
  811.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  812.     echo Concatenating pieces...
  813.     cat doc/intro.troff.0[1-9] >doc/intro.troff && rm doc/intro.troff.0[1-9]
  814.     cat doc/intro.txt.0[1-9] >doc/intro.txt && rm doc/intro.txt.0[1-9]
  815.     cat doc/zsh.texi.0[1-9] >doc/zsh.texi && rm doc/zsh.texi.0[1-9]
  816.     cat man/man1/zsh.1.0[1-9] >man/man1/zsh.1 && rm man/man1/zsh.1.0[1-9]
  817.     cat src/builtin.c.0[1-9] >src/builtin.c && rm src/builtin.c.0[1-9]
  818. else
  819.     echo You still must unpack the following archives:
  820.     echo "        " ${MISSING}
  821. fi
  822. exit 0
  823.  
  824. exit 0 # Just in case...
  825.