git://git.nikiroo.be
/
gofetch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050494f
)
gopher.sh: fix mktemp usage (6 'X's instead of 5?)
author
Niki Roo
<niki@nikiroo.be>
Tue, 3 Apr 2018 10:48:59 +0000
(12:48 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Tue, 3 Apr 2018 10:48:59 +0000
(12:48 +0200)
gopher.sh
patch
|
blob
|
blame
|
history
diff --git
a/gopher.sh
b/gopher.sh
index 93715fca3de805898818f472c72df10af51e81a2..56fe265365b16ec7e29ce6272f09764cdea3d22b 100755
(executable)
--- a/
gopher.sh
+++ b/
gopher.sh
@@
-66,7
+66,7
@@
getsel() {
cat "$1" | grep '^[0-9]' | tail -n+"$2" | head -n 1 | cut -f"$3"
}
-tmp="`mktemp
gofetch.current_page.
XXXXX`"
+tmp="`mktemp
-t gofetch.current_page.X
XXXXX`"
finish() {
rm -rf "$tmp"
}