Newer
Older
Import / code / Scripts / man.sh
@John John on 29 Dec 2020 386 bytes bulk import from macbookpro checkouts
#!/bin/sh
#
# http://www.macosxhints.com/article.php?story=200412080923108
#
/usr/bin/osascript -e 'tell application "Safari" to activate'
/usr/bin/osascript -e 'tell application "System Events" to tell application process "Safari" to click menu item "New Tab" of menu "File" of menu bar item "File" of menu bar 1'
/usr/bin/open 'man:'$(/usr/bin/man -w $1 | /usr/bin/sed 's/\/.*\///')