minix/commands/scripts/minixsize.sh
2005-08-30 10:20:39 +00:00

10 lines
177 B
Bash

#!/bin/sh
t=/usr/src/etc/binary_sizes
if [ "$1" = big ]
then t=$t.big
fi
if [ -f $t ]
then cat "$t" | while read line
do awk '{ print "chmem =" $2 " " $1 }'
done | /bin/sh
fi