Re: Working sms time check?
"@lbutlr" <[email protected]> Thu, 2 Jun 2016 16:56:14 -0600
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
On Jun 2, 2016, at 3:47 PM, @lbutlr <[email protected]> wrote: > > SMS_TIME=`/usr/bin/find $MAILDIR -mtime +24h -maxdepth 1 -name .SMS_$LISTNAME | /usr/bin/sed 's/^.......//'` > SMS_TIME=`/usr/bin/find $MAILDIR -mtime +24h -maxdepth 1 -name .SMS_$LISTNAME` > SMS_TIME=`echo $SMS_TIME | /usr/bin/sed 's/^.......//'` This works: SMS_TIME=`/usr/bin/find $MAILDIR -mtime +24h -maxdepth 1 -name .SMS_$LISTNAME` SMS_TIME=`basename $SMS_TIME` -- if you ever get that chimp off your back, if you ever find the thing you lack, ah but you know you're only having a laugh. Oh, oh here we go again -- until the end.