💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › dotfiles › webs.sh.gmi captured on 2024-08-18 at 18:54:43. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

systemSetup

Log

Files

Refs

README

LICENSE

webs.sh (630B)

     1 query=""
     2 status='start'
     3 for p in "$@"
     4 do
     5         if [ "$status" = "start" ]; then
     6                 query=$p
     7                 status=processing
     8         else
     9                 query=$query+$p
    10         fi
    11 done
    12 
    13 echo Query: $query
    14 
    15 echo "https://html.duckduckgo.com/html/?q="$query
    16 w3m -no-cookie -s -W "https://html.duckduckgo.com/html/?q="$query
    17 # 210401 ddg.co is down
    18 #echo "https://ddg.co/html/?q="$query
    19 #w3m -no-cookie -s -W "https://ddg.co/html/?q="$query
    20 #echo "https://www.google.se/search?q="$query
    21 #w3m -no-cookie -s -W "https://www.google.se/search?q="$query
    22 #lynx -accept_all_cookies -notitle -nocolor -nolog -nopause -noprint -nostatus -noreferer "https://www.google.se/search?q="$query