mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
13 lines
293 B
Bash
13 lines
293 B
Bash
#!/bin/sh
|
|
#
|
|
# $ANA: info.sh,v 1.3 1996/06/04 16:25:30 wollman Exp $
|
|
# $FreeBSD$
|
|
#
|
|
|
|
ls $1.[a-z][a-z] | wc | awk '{ print "Pieces = ",$1 }'
|
|
for FILE in $1.[a-z][a-z]; do
|
|
PIECE=`echo $FILE | cut -d . -f 2`
|
|
echo -n "cksum.$PIECE = "
|
|
cksum $FILE | awk ' { print $1,$2 } '
|
|
done
|