commit: 7f13c534d6e785481dab50b60df3a7f9b606ed0c
parent: 021c790cb62180b05e0a176e03b8a784521f001a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 7 May 2018 03:38:29 +0200
README.md: Better formatting, move Note into dependencies section
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
@@ -1,9 +1,9 @@
# sshpaste
-A mostly POSIX shell script inspired by wgetpaste but for pushing to your own server.
+A POSIX shell script (with some non-POSIX dependencies) inspired by wgetpaste but for pushing to your own server.
## Usage
-Please modify target_ssh and target_www to the appropriate servers and paths.
+Please modify ``target_ssh`` and ``target_www`` into ``sshpaste`` to the appropriate servers and paths for your usage.
```
Usage: sshpaste [options] [file(s)]
@@ -14,7 +14,7 @@ Options:
-x read input from clipboard (requires xclip)
Can be used only once, not compatible with -c
- When no options or files are given, ${1} reads from stdin, it assumes plain text is given and so puts a .txt extension
+ When no options or files are given, sshpaste reads from stdin, it assumes plain text is given and so puts a .txt extension
```
## Intended differences with wgetpaste
@@ -29,6 +29,8 @@ Options:
* mktemp(1): tested with coreutils; needed for -x and -c
* xclip(1): optionnal; needed for -x option
+Note: Your server needs a ssh daemon for the uploads and a web server for hosting the files. You can also replace the web server with one for Gopher, FTP (but let it die) or maybe even something else.
+
## Packages
* Source tarballs are available at https://hacktivis.me/git/sshpaste/archives/ and https://github.com/lanodan/sshpaste/releases
* It is in my gentoo overlay, here is theorically how to install sshpaste from a clean gentoo:
@@ -37,5 +39,3 @@ emerge layman
layman -a lanodanOverlay
emerge sshpaste
```
-
-Note: Your server needs a ssh daemon for the uploads and a web server for hosting the files. You can also replace the web server with one for Gopher, FTP (but let it die) or maybe even something else.