monkinetic the blog

BBEdit Shell Worksheets

I’d never used MPW, so when I (almost accidentally) opened up one of BBEdit’s new Shell Worksheets, I was a bit perplexed as to what I was looking at. It looked like a lot of text - a document - but there were commands in there as well - and the type of document I was looking at suggested that you could do something with them. Indeed, say the instructions - put the cursor at the end of one of the lines containing a shell command, and BBEdit AutoMagically behind the scenes runs the command in a shell, and dumps the output right into your document. OMG. This is… amazing. Hm. Combine this with a command-line xmlrpc client, and strange (and frightening?) things could happen… Muahahaha -)

#I can put anything in here, notes, comments, whatever,
#then put my cursor at the end of the next line and hit “enter”…

uptime
7:49PM up 2 days, 23:13, 5 users, load averages: 1.30, 1.17, 1.06

#then