From cadbe4a910ce4351cdb1a4648a39282dfa66037d Mon Sep 17 00:00:00 2001 From: James Tomasino <james@tomasino.org> Date: Mon, 20 Jan 2020 14:33:57 +0000 Subject: [PATCH 1/2] updated man page with extra heading --- pb.1 | 1 + 1 file changed, 1 insertion(+) diff --git a/pb.1 b/pb.1 index a918abd..6893e63 100644 --- a/pb.1 +++ b/pb.1 @@ -55,6 +55,7 @@ Upload piped output to the pastebin .TP .B find . -type f -name '*.js' -print | pb -f Upload a list of files to the pastebin individually +.TP .B pb -s http://0x0.st scores.txt Upload a file to a different pastebin endpoint .TP From 7edfbbecd66d98035a72d1e8a850ac4692944ad0 Mon Sep 17 00:00:00 2001 From: James Tomasino <james@tomasino.org> Date: Mon, 20 Jan 2020 14:39:00 +0000 Subject: [PATCH 2/2] added executable to plain text example --- pb.1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pb.1 b/pb.1 index 6893e63..93222ef 100644 --- a/pb.1 +++ b/pb.1 @@ -50,6 +50,9 @@ utility exits 0 on success, and >0 if an error occurs. .B pb scores.txt Upload 'scores.txt' to the pastebin .TP +.B pb < script.sh +Upload executable 'script.sh' as plain text to the pastebin +.TP .B echo 'Secret info' | pb Upload piped output to the pastebin .TP