Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
View source from a URL in BBEdit
function bbcurl () {
curl $1 | bbedit --new-window +1 -t $1

ascarter commented Aug 19, 2011

This shows the URL as the title, requests a new window (despite what you defaults are), and asks for line 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment