scripts

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

commit 3073db4923074e88b3125e81631eac39fbd53e2c
parent 8e5778d79e3e470af48b5a08a9fe695b52d74b94
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Thu, 22 Jun 2023 21:30:09 +0200

Reverted changes with excessive quotes

Diffstat:
Mopen-file | 2+-
Mopen-stdin | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/open-file b/open-file @@ -84,7 +84,7 @@ openfile() { esac if [ -n "$prog" ]; then - $launcher "$prog" "$f" + $launcher $prog "$f" else exit 1 fi diff --git a/open-stdin b/open-stdin @@ -9,4 +9,4 @@ folder=${TMPDIR:-/tmp} tempfile=$(mktemp -p "$folder") -cat > "$tempfile" && open-file "$@" "$tempfile" +cat > "$tempfile" && open-file $@ "$tempfile"