File: cat

package info (click to toggle)
zsh 4.3.6-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 14,436 kB
  • ctags: 7,192
  • sloc: ansic: 87,447; sh: 5,590; makefile: 836; perl: 619; awk: 381; sed: 16
file content (16 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (12)
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