# HG changeset patch # User Paul Bissex # Date 1600825892 14400 # Tue Sep 22 21:51:32 2020 -0400 # Node ID e85880c1ca7cc8897b672a2fef7266606f84da32 # Parent 16910912e0e7b6e990d54557c57af12051558d1e less markdown in readme; updated sample session diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -1,15 +1,18 @@ -# Scripts and Tools for dpaste.com # -*License: MIT* -### [dpaste.sh](https://bitbucket.org/pbx/dpaste-tools/src/tip/dpaste.sh?fileviewer=file-view-default) +Scripts and Tools for dpaste.com +================================ + +License: MIT + +dpaste.sh +--------- + Simple command-line client for creating dpaste items from stdin. Optionally specify syntax, title, and expiry. Resulting item is opened in your browser (via `xdg-open` on Linux; use `open` on macOS). Sample session: -``` -#!bash -$ dpaste.sh -t Demo -s python3 -e 1 -Paste your content now, ^D to submit. ---- -print("Hello!") ---- -http://dpaste.com/0DEME1M -``` \ No newline at end of file + + $ ./dpaste.sh -t Demo -s haskell + Paste your content now, ^D to submit. + --- + quicksort (p:xs) = (quicksort lesser) ++ [p] ++ (quicksort greater) + --- + http://dpaste.com/25YJJ3MFJ