You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
575 B
25 lines
575 B
#!/bin/bash
|
|
# Ultima Modif: 20251010
|
|
# Busca un texto en browsers
|
|
|
|
source fnc_gonzy.sh
|
|
|
|
#google() {
|
|
# local query="$*"
|
|
# if [ -z "$query" ]; then
|
|
# google-chrome "https://www.google.com"
|
|
# else
|
|
# query=$(echo "$query" | jq -sRr @uri)
|
|
# google-chrome "https://www.google.com/search?q=$query"
|
|
# fi
|
|
#}
|
|
|
|
function slynx(){
|
|
if [[ $(echo $*) ]]; then
|
|
searchterm="$*"
|
|
else
|
|
read -p "Enter your search term: " searchterm
|
|
fi
|
|
searchterm=$(echo $searchterm | sed -e 's/\ /+/g')
|
|
lynx -accept_all_cookies=on http://www.google.com/search?q=$searchterm
|
|
} |