mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 10:09:30 +00:00
8 lines
190 B
Bash
8 lines
190 B
Bash
#!/bin/sh
|
|
ls $1.* | wc | awk '{ print "Pieces = ",$1 }'
|
|
for FILE in $1.*; do \
|
|
PIECE=`echo $FILE | cut -d . -f 2` ; \
|
|
echo -n "cksum.$PIECE = "; \
|
|
cksum $FILE | awk ' { print $1,$2 } '
|
|
done
|