Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.suse    |    Suse is actually not that bad    |    138,051 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 137,373 of 138,051    |
|    marrgol to All    |
|    Re: Just a question.    |
|    31 Oct 21 23:41:13    |
      From: marrgol@address.invalid              On 31/10/2021 at 21.54, Sidney_Kotic wrote:       > I've been playing around with sending mail while in a cronjob. Here is a       test       > script.       >       > WhoBeI=`hostname`       > # Format to run on Raspberry Pi under raspbian       > #       > Sendtheshhtuff="sendEmail -f mydeadcat@fakedomain.ddns.net \       > -u $WhoBeI \       > -s mail.fakedomain.ddns.net \       > -t myname@fakedomain.ddns.net \       > -o message-file=Da_message.msg"       > # Format to run on openSUSE       > #       > Sendtheshhtuff="mailx -r mydeadcat@fakedomain.ddns.net \       > -s $WhoBeI \       > -q Da_message.msg \       > myname@fakedomain.ddns.net"       > #       > echo "Hey, `date`" > Da_message.msg       > #       > $Sendtheshhtuff < "."       >       > This works.       > My question is...is there a way to get rid of the < "." in the last       > line so that it just says...       > $Sendtheshhtuff              I don't know about sendEmail but for mailx this should work:              Sendtheshhtuff="eval mailx -r mydeadcat@fakedomain.ddns.net \        -s $WhoBeI \        myname@fakedomain.ddns.net \        < Da_message.msg"                     --       mrg              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca