home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Shells / zsh-3.0.5-MIHS / src / Etc / FEATURES < prev    next >
Encoding:
Text File  |  1996-08-02  |  2.8 KB  |  70 lines

  1. very close to ksh/sh grammar, with csh additions
  2. most features of ksh, bash, and tcsh
  3. can emulate ksh or POSIX sh
  4. 81 builtins, 102 options, 162 key bindings
  5. short for loops, ex: for i (*.c) echo $i
  6. select
  7. shell functions
  8. conditional expressions (test builtin, [ ... ], and ksh-style [[ ... ]])
  9. global aliases (may be expanded anywhere on the line)
  10. directory stack access with =num
  11. process substitution (vi =(cmd) edits the output of cmd)
  12. generalized pipes (ls foo >>(cmd1) 2>>(cmd2) pipes stdout to cmd1
  13.   and stderr to cmd2)
  14. arithmetic expressions
  15. advanced globbing:
  16.   ls **/file  searches recursively for "file" in subdirectories
  17.   ls file<20->  matches file20, file30, file100, etc.
  18.   ls *.(c|pro)  matches *.c and *.pro
  19.   ls *(R)  matches only world-readable files
  20.   ls *.c~lex.c  matches all .c files except lex.c
  21. null command shorthands:
  22.   "< file" is same as "more <file"
  23.   "> file" is same as "cat >file"
  24.   ">> file" is same as "cat >>file"
  25. ksh-style coprocesses
  26. automatic file stream teeing (ls >foo >bar puts output in two places)
  27. chpwd() function run every time you change directory (useful for
  28.   updating the status line)
  29. job control
  30. csh-style history
  31. full vi line editing, including "c2w" and "y$" and such things
  32. full emacs line editing
  33. incremental history search
  34. magic-space history
  35. spelling correction
  36. array parameters
  37. $MACHTYPE, $VENDOR and $OSTYPE identify the host machine
  38. $LINENO, $RANDOM, $SECONDS, $cdpath, $COLUMNS, $fignore, $HISTCHARS, $mailpath
  39. $UID, $EUID, $GID, $EGID and $USERNAME can be assigned to
  40. with autocd option, typing a directory name by itself is the same as
  41.   typing "cd dirname"
  42. menu completion: pressing TAB repeatedly cycles through the possible matches
  43. incremental path hashing
  44. automatic process time reporting for commands that run over a certain limit
  45. full tcsh-style prompt substitution
  46. utmp login/logout reporting
  47. with histverify option, performing csh-style history expansions causes the
  48.   input line to be brought up for editing instead of being executed
  49. with sunkeyboardhack option, accidentally typed trailing ` characters
  50.   are removed from the input line (for those of you with Sun keyboards :-) )
  51. autoloaded functions (loaded from a file when they are first referenced)
  52. "cd old new" replaces "old" with "new" in directory string
  53. generalized argument completion, including:
  54.   - command name completion
  55.   - filename and path completion
  56.   - hostname completion
  57.   - key binding completion
  58.   - option completion
  59.   - variable name completion
  60.   - user-specified keyword completion
  61.   - anything else you can think of
  62. prompt on right side of screen
  63. directory stacks
  64. history datestamps and execution time records
  65. command scheduling (like at(1), but in the shell's context)
  66. tty mode freezing
  67. up to 9 startup files (but you only need 1 or 2)
  68. really 8-bit clean, and we mean it this time
  69. which -a cmd lists all occurrences of "cmd" in the path
  70.