Powerful Built-in Editors
- Most shells can edit a single command line.
So can zsh.
- zsh also has built-in multi-line editor
(for terminals that can handle this)
- No need to edit nested statements line-by-line:
$ for file in `find . -name '*.ps*' -print`
> case "$file" in
> *.ps) lpr $file ;;
> *.ps.gz) zcat "$file" | lpr ;;
Contact Jerry Peek