aboutsummaryrefslogtreecommitdiff
path: root/bin/e
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/e15
-rwxr-xr-xbin/email1
2 files changed, 11 insertions, 5 deletions
diff --git a/bin/e b/bin/e
index b2778e1..3f8e93d 100755
--- a/bin/e
+++ b/bin/e
@@ -12,11 +12,18 @@ usage() {
help() {
cat <<-'EOF'
+
Options:
- -h, --help
+ -h, --help show this message
+
+ FILE path to the file
+
+ Flexibly run a text editor, either directly or in a pipe.
+
+ The editor used is either $VISUAL or $EDITOR, with a fallback to
+ vi in case any of those variables aren't defined.
- Flexibly run a text editor, either directly on in a pipe.
Examples:
@@ -24,12 +31,10 @@ help() {
$ e file.txt
+
Manipulate the content of a pipe midway:
$ seq 10 | e | grep 5
-
- The editor used is either $VISUAL or $EDITOR, with a fallback to
- vi in case any of those variables aren't defined.
EOF
}
diff --git a/bin/email b/bin/email
index e6b055c..7c6eca4 100755
--- a/bin/email
+++ b/bin/email
@@ -12,6 +12,7 @@ usage() {
help() {
cat <<-'EOF'
+
Options:
-s SUBJECT the email subject (default: "CLI email: No subject")
-f FROM the addr to send from (default: "eu@euandre.org")