Solved storing fetch content as shell variable

Hi,

I am trying to automate wordpress installation for my jail and I was wondering if anyone please could help me figure this one out..
I curently use
Code:
SALT=$(curl -L https://api.wordpress.org/secret-key/1.1/salt/)
to store the wordpress salt key.
I would like some help doing the same using fetch so i don't have to install pakage that I do not normally use

Thank you
 
Dear fred974,
I have something as
Code:
reply=`/usr/bin/fetch -q -o '-' http://www.somewhere.org/something/interesting`
in one of my scripts for further evaluation. The address is modified.
 
Back
Top