Skip to content

Commit

Permalink
Fix Mac and Linux commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub authored Jul 3, 2020
1 parent 7e47ecf commit 003c437
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -)"
```

Expand Down

0 comments on commit 003c437

Please sign in to comment.