freebsd-dev/release/scripts/info.sh

8 lines
190 B
Bash
Raw Normal View History

#!/bin/sh
ls $1.* | wc | awk '{ print "Pieces = ",$1 }'
1995-06-11 19:33:05 +00:00
for FILE in $1.*; do \
PIECE=`echo $FILE | cut -d . -f 2` ; \
echo -n "cksum.$PIECE = "; \
cksum $FILE | awk ' { print $1,$2 } '
done