Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 805 Bytes

README.md

File metadata and controls

39 lines (20 loc) · 805 Bytes

caste - view raw pastebin content

caste shows the content of a pastebin.

Motivation

This happens every day on Freenode:

<me> jrandom: pastebin the error message you get.

<jrandom> http://pastebin.com/Yas84GQN

Opening that URL gives a lot of things around the content. The URL you really want is:

<jrandom> http://pastebin.com/raw/Yas84GQN

This project allows you to run:

% caste http://pastebin.com/Yas84GQN

to view the paste contents, as though by

% curl -s http://pastebin.com/raw/Yas84GQN

Maturity

Currently a few pastebins are known. I'll add more as I run into them in practice.

Etymology

Portmanteau of cat(1) and paste (n.).

Similar projects

The only similar project I'm aware of is https://github.com/e36freak/read_paste.