mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-01-28 03:54:08 +00:00
17 lines
195 B
Bash
17 lines
195 B
Bash
#!/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
|