Display the last 100 lines of the file randomly selected from the list in testdir/list.txt and sorted in reverse order, taking the first one.
tail -n 100 $(cat testdir/list.txt | awk 'BEGIN { FS = "|" } ;{ print $2 }' | sort -R | head -1)