xwords/xwords4/linux/scripts/show_sms_inplay.sh
2020-03-14 13:43:42 -07:00

11 lines
221 B
Bash
Executable file

#!/bin/sh
for MSG in $(find /tmp/xw_sms/ -type f); do
NOLOCK=$(echo $MSG | sed 's,.lock,,')
if [ $NOLOCK = $MSG ]; then
basename $(dirname "$MSG")
echo -n "${MSG}: "
head -n 1 $MSG
fi
done
# ls -l /tmp/xw_sms/*