Fix Mac and Linux commands
Boris K kubiakboris@gmail.com
Fri, 03 Jul 2020 09:17:35 +0200
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
README.md
→
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" +echo -n 'Hello World' | lzma | base64 -w0 | xargs -0 printf "https://nopaste.ml/#%s" # Mac -echo -n 'Hello World' | lzma | base64 -w0 | xargs -0 printf "https://nopaste.ml/#%s" +echo -n 'Hello World' | lzma | base64 | xargs -0 printf "https://nopaste.ml/#%s" -# Windows / WSL +# Windows / WSL / Linux echo -n 'Hello World' | xz --format=lzma | base64 -w0 | printf "https://nopaste.ml/#%s" "$(cat -)" ```