scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

commit 92e73d48e352e02cfc7f920402398928054a375f
parent f9b7d81af1e92a07d6da04e8f3d8af36c566722b
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Mon, 14 Feb 2022 12:02:13 +0100

Replaced xeditor -> xedit and fixed argument

Diffstat:
Mxedit | 2+-
Mxedit-filter | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xedit b/xedit @@ -5,4 +5,4 @@ editor=${EDITOR:-${VISUAL:-vi}} -terminal $editor +terminal $editor $@ diff --git a/xedit-filter b/xedit-filter @@ -1,9 +1,9 @@ #/!bin/sh # Open stdin in a text editor and sends modified selection to stdout -# Requires: xeditor +# Requires: xedit f=$(mktemp) cat > "$f" -xeditor "$f" && cat "$f" +xedit "$f" && cat "$f"