#!/bin/csh -f # bluesky # ------------------------------------------------------------------------- # Shell script to view and search Bluesky # ------------------------------------------------------------------------- # Revision History: # $Log$ # ------------------------------------------------------------------------- set browser = "open" # If $1 is a script in the browsers folder, use it as the browser. if ($#argv > 0 && -x "$0:h/browsers/$1") then set browser = $1:q shift endif if ($#argv > 0) then (set echo; $browser "https://bsky.app/search?q=$1:q%20$2:q%20$3:q%20$4:q%20$5:q%20$6:q%20$7:q%20$8:q%20$9:q%20$10:q%20$11:q%20$12:q%20$13:q%20$14:q%20$15:q%20$16:q%20$17:q%20$18:q%20$19:q%20$20:q") else (set echo; $browser https://bsky.app) endif