#! /bin/bash

if [ $# -ne 1 ]; then
	echo "Usage: <script> size"
	exit
fi

while read line; do
	SIZE=`echo $line | cut -d"," -f 5`
	if [ $SIZE -eq $1 ]; then
		echo $line
	fi
done < "/dev/stdin" 
