aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xxedit2
-rwxr-xr-xxedit-filter4
2 files changed, 3 insertions, 3 deletions
diff --git a/xedit b/xedit
index d456be8..5d62b8e 100755
--- a/xedit
+++ b/xedit
@@ -5,4 +5,4 @@
5 5
6editor=${EDITOR:-${VISUAL:-vi}} 6editor=${EDITOR:-${VISUAL:-vi}}
7 7
8terminal $editor 8terminal $editor $@
diff --git a/xedit-filter b/xedit-filter
index 9422760..c377473 100755
--- a/xedit-filter
+++ b/xedit-filter
@@ -1,9 +1,9 @@
1#/!bin/sh 1#/!bin/sh
2 2
3# Open stdin in a text editor and sends modified selection to stdout 3# Open stdin in a text editor and sends modified selection to stdout
4# Requires: xeditor 4# Requires: xedit
5 5
6f=$(mktemp) 6f=$(mktemp)
7cat > "$f" 7cat > "$f"
8xeditor "$f" && cat "$f" 8xedit "$f" && cat "$f"
9 9

Generated with cgit - Back to sebastiano.tronto.net