mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
17 lines
206 B
Plaintext
17 lines
206 B
Plaintext
|
#! /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
|