mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
Fix the encoding command to be compatible with ZSH
I haven't tested the mac version because I do not have access to one.
This commit is contained in:
parent
5292c4b789
commit
c16a5dfa44
1 changed files with 2 additions and 2 deletions
|
|
@ -27,11 +27,11 @@ One simple way to host is to [forward a domain](https://support.google.com/domai
|
|||
## Generating links programatically
|
||||
Encoding (Mac)
|
||||
|
||||
```echo -n 'hello world' | lzma -9 | base64 | printf "https://itty.bitty.site/#/%s\n" "$(cat -)"```
|
||||
```echo -n 'hello world' | lzma -9 | base64 | xargs -0 printf "https://itty.bitty.site/#/%s\n"```
|
||||
|
||||
Encoding (Linux)
|
||||
|
||||
```echo -n 'hello world' | lzma -9 | base64 -w0 | printf "https://itty.bitty.site/#/%s\n" "$(cat -)"```
|
||||
```echo -n 'hello world' | lzma -9 | base64 -w0 | xargs -0 printf "https://itty.bitty.site/#/%s\n"```
|
||||
|
||||
Encoding (Win Git/WSL)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue