recursive calls to self

with two confirmations it shows cat girl pics in feh (image viewer)

$ ./ollama_req.sh "find cat girl pics and show them in feh"

Run command (y/n)

"~/ollama_req.sh "find cat girls" > catgirls && feh $(cat catgirls)"

y/n?y

Run command (y/n)

"curl -s -H "User-Agent: Firefox" "h.ttps://www.qwant.com/?q=cat+girl&t=images" | grep -oP 'src="\K[^\"]+'"

y/n?y

Reply to this note

Please Login to reply.

Discussion

output is wrong

prompt was "find cat girl pics and show them in feh"

commands it runs:

~/ollama_req.sh "find cat girls" > catgirls

feh $(cat catgirls)

nvm, its correct. its just complicated to understand