aboutsummaryrefslogtreecommitdiff
path: root/open-stdin
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-22 09:57:53 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-22 09:57:53 +0100
commit5ac980dec555c543815d9defc3b7192354539b6c (patch)
tree0df3bafdb245f580029ba54f86313fdb609b6de0 /open-stdin
parentbea38c1ce49b5e5e60e4e9f9261ec176ff59cd3c (diff)
downloadscripts-5ac980dec555c543815d9defc3b7192354539b6c.tar.gz
scripts-5ac980dec555c543815d9defc3b7192354539b6c.zip
Fixed open-file, changed a bit open-stdin
Diffstat (limited to 'open-stdin')
-rwxr-xr-xopen-stdin2
1 files changed, 1 insertions, 1 deletions
diff --git a/open-stdin b/open-stdin
index a776b9f..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 -s spawn -t "$1" "$tempfile" 12cat > "$tempfile" && open-file $@ "$tempfile"

Generated with cgit - Back to sebastiano.tronto.net