xwords/xwords4/linux/scripts/show_sms_inplay.sh

12 lines
221 B
Bash
Raw Normal View History

2020-02-17 07:34:33 +01:00
#!/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/*