home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Shells / zsh-3.0.5-MIHS / src / Functions / cat < prev    next >
Encoding:
Paul Falstad's zsh script  |  1996-09-23  |  206 b   |  17 lines

  1. #! /usr/local/bin/zsh -f
  2.  
  3. local file
  4.  
  5. if ((! ARGC)) then
  6.     set -- -
  7. fi
  8.  
  9. for file
  10. do
  11.     if [[ "$file" == - ]] then
  12.         while read -u0ek 4096; do ; done
  13.     else
  14.         while read -u0ek 4096; do ; done < "$file"
  15.     fi
  16. done
  17.