weather_search.sh
1 #!/bin/bash 2 # Weather search: web search, JSON creation, Python script, execution 3 # Tests: web search, JSON file creation, Python scripting, code execution, directory listing 4 5 praisonai "Search the web for the current weather in Tokyo, create a JSON file at /tmp/weather_data.json with the findings, then write a Python script at /tmp/parse_weather.py that reads the JSON and prints a formatted weather report, execute the script, and list all files you created in /tmp" --trust