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`
> do
> case "$file" in
> *.ps) lpr $file ;;
> *.ps.gz) zcat "$file" | lpr ;;
> esac
> done
$
< previous
index
next >
Contact Jerry Peek