summaryrefslogtreecommitdiffstats
path: root/functions
blob: 1dc76d33e5cc3d937b5234e8cf68243f54da86b5 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# the calling conventions for stat(1) are highly system dependent
STAT='stat -c %s' # GNU stat(1) is the default since most people have it
case "`uname -s`" in
	*BSD)  STAT='stat -f %z';;
	Minix) STAT='stat -size';;
esac