head	2.1;
access;
symbols
	3_0_1:2.1
	3_0_0:2.0;
locks;
comment	@# @;


2.1
date	96.09.23.23.13.43;	author hzoli;	state Exp;
branches;
next	2.0;

2.0
date	96.09.23.23.12.54;	author hzoli;	state Exp;
branches;
next	;


desc
@cat as a zsh function
@


2.1
log
@A simplified implementation of cat as a zsh function
@
text
@#! /usr/local/bin/zsh -f

local file

if ((! ARGC)) then
	set -- -
fi

for file
do
	if [[ "$file" == - ]] then
		while read -u0ek 4096; do ; done
	else
		while read -u0ek 4096; do ; done < "$file"
	fi
done
@


2.0
log
@*** empty log message ***
@
text
@d1 16
@
