Sample Header Ad - 728x90

Shell script for searching custom search engine no longer works in Catalina (Ruby)

0 votes
1 answer
134 views
I recently upgraded from Mac OS Mojave to Catalina. On Mojave, I used a quick action to perform web searches via Google's encrypted search engine at encrypted.google.com. The quick action script is open "https://encrypted.google.com/search?q=$(ruby -rcgi -e 'print CGI.escape $<.read.chomp')". This script no longer works in Catalina due to deprecated Ruby support. Does anyone know how I could script the same action in Catalina?
Asked by JQlo66WfDAoNbqE1 (21 rep)
Dec 20, 2021, 03:52 PM
Last activity: Dec 20, 2021, 04:29 PM