RESULT="`wget -q0- https://translate.yandex.com/?lang=en-pl&text=shit`"
echo $RESULT
Why the fuck can I see my /home/ filenames in the variable?
>>62069287
My guess would be that it's storing the webpage in a file in your homedir. Because wget downloads things.
>>62069287
| sed -r 's/\*//g'
>>62069287
Just use curl instead.
>>62069942
We don't have time to introduce curl during that lecture.
Any fun rest api that I can use to build a simple bash script with my students?
>>62070298
>rest api
>bash
Are you retarded? Just use curl it's easy as fuck. -X let's you specify a request type, the default being GET.
>>62071586
I know that curl is superior but we need to convey the most useful stuff in 90 minutes. I decided to use rscb api. It's nice and lets you download structures in many formats.
>>62072205
Fuck off