#!/bin/sh
TYPE=${TYPE:-$1}
cat $TYPE-*.log | \
egrep -vf filter-merge | \
sort -u | \
xargs ls -d1 2>/dev/null | \
xargs ls -ld | awk '/^-/{print $NF}' | \
cat > readahead-$TYPE.lst
