mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
11 lines
221 B
Bash
Executable file
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/*
|