From 003c43732d36a2a215758990df9bf31868919ca2 Mon Sep 17 00:00:00 2001 From: Boris K Date: Fri, 3 Jul 2020 09:17:35 +0200 Subject: [PATCH] Fix Mac and Linux commands --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e73bc94..4868e31 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,12 @@ NoPaste links can be created easily from your system's command line: ```bash # Linux -echo -n 'Hello World' | lzma | base64 | xargs -0 printf "https://nopaste.ml/#%s" - -# Mac echo -n 'Hello World' | lzma | base64 -w0 | xargs -0 printf "https://nopaste.ml/#%s" -# Windows / WSL +# Mac +echo -n 'Hello World' | lzma | base64 | xargs -0 printf "https://nopaste.ml/#%s" + +# Windows / WSL / Linux echo -n 'Hello World' | xz --format=lzma | base64 -w0 | printf "https://nopaste.ml/#%s" "$(cat -)" ```