#!/bin/sh
date=`date +%y%m%d_%H%M%S`
outfile="/tmp/xprop.$date"
echo "xprop ‐ property displayer for X" > "$outfile"
echo >> "$outfile"
xmessage -print "Select the window for property display" -center -timeout 5 &
xprop >> "$outfile"
xterm -e less "$outfile"
rm "$outfile"