1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-22 12:31:26 +01:00

moved from ./Functions/Misc/cat

This commit is contained in:
Sven Wischnowsky 2001-04-02 12:24:08 +00:00
parent c1f51e45d9
commit 3b3a55e39b

16
Functions/Example/cat Normal file
View file

@ -0,0 +1,16 @@
#! /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