aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-06-22 21:30:09 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-06-22 21:30:09 +0200
commit3073db4923074e88b3125e81631eac39fbd53e2c (patch)
treede46a2db2df87393a9dded40158891ce5236e5d1
parent8e5778d79e3e470af48b5a08a9fe695b52d74b94 (diff)
downloadscripts-3073db4923074e88b3125e81631eac39fbd53e2c.tar.gz
scripts-3073db4923074e88b3125e81631eac39fbd53e2c.zip
Reverted changes with excessive quotes
-rwxr-xr-xopen-file2
-rwxr-xr-xopen-stdin2
2 files changed, 2 insertions, 2 deletions
diff --git a/open-file b/open-file
index 212ae40..12b8f0b 100755
--- a/open-file
+++ b/open-file
@@ -84,7 +84,7 @@ openfile() {
84 esac 84 esac
85 85
86 if [ -n "$prog" ]; then 86 if [ -n "$prog" ]; then
87 $launcher "$prog" "$f" 87 $launcher $prog "$f"
88 else 88 else
89 exit 1 89 exit 1
90 fi 90 fi
diff --git a/open-stdin b/open-stdin
index bad99cb..5c0ee1e 100755
--- a/open-stdin
+++ b/open-stdin
@@ -9,4 +9,4 @@ folder=${TMPDIR:-/tmp}
9 9
10tempfile=$(mktemp -p "$folder") 10tempfile=$(mktemp -p "$folder")
11 11
12cat > "$tempfile" && open-file "$@" "$tempfile" 12cat > "$tempfile" && open-file $@ "$tempfile"

Generated with cgit - Back to sebastiano.tronto.net