is working? it is ... submitted post 20191021

in #bash5 years ago

pardon teh spemz
in short ...

cron has a bit of an issue with environment so it came down to absolute pathing (again)

AUTHOR="gmdatacenter"
POSTBODYINPUT="$AUTHOR""txt"
BASETITLE=$(grep ^"$AUTHOR|" basetitles|cut -d'|' -f2)
BASETAGS=$(grep ^"$AUTHOR|" basetags|cut -d'|' -f2)

had to be (in my case)

AUTHOR="gmdatacenter"
POSTBODYINPUT="$AUTHOR""txt"
BASETITLE=$(grep ^"$AUTHOR|" $HOME/wurdafileis/basetitles|cut -d'|' -f2)
BASETAGS=$(grep ^"$AUTHOR|" $HOME/wurdafileis/basetags|cut -d'|' -f2)

feel free to downvote if you didnt get laid this morning cos your wife had a bad hairday and some cartels just wrecked the post you spent $20 on, i could care less on this account ...
if this one posts ill remove it from cron ofc ... RC aint free no more

oh the pythonbit ... i never seen a line of python in my life until this script really

post = [line.rstrip('\n') for line in open('postbodytext')]
    title  = post[0]
    tags = post[1]
    author = post[2]
    body = '\n'.join(post[3:])

the rest is steempth or beemd or whatever thats why i use mainly shell for anything but the encoding (thats like WAY too much hassle to diy)

gud, bye


pushed in your face with Mon Oct 21 02:15:01 UTC 2019


AntiFaHasherc816ed5084eb40be5f1ee6c704da68f7117a68356e27606e5a27db85bb1b9b8e7cf78ff69a295bc01bf0e99fada892b610f0b85155b340dd6ed942addaad7ff503e738fade2955706e3aaa355eb85c88b3ded610250be2512878befaec3005894658f04ca7fa40771e9ee1780ae6374622e1f216fcef22bad2e58610657e9526c816ed5084eb40be5f1ee6c704da68f7117a68356e27606e5a27db85bb1b9b8e7cf78ff69a295bc01bf0e99fada892b610f0b85155b340dd6ed942addaad7ff503e738fade2955706e3aaa355eb85c88b3ded610250be2512878befaec3005894658f04ca7fa40771e9ee1780ae6374622e1f216fcef22bad2e58610657e9526

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 60953.94
ETH 2920.49
USDT 1.00
SBD 3.57