summary refs log tree commit diff
path: root/Functions/Example/cat
blob: 15dd75b38a572c5f299eac0888a95a4b588a743a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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