Deal with spaces in $HOME
This commit is contained in:
1 parent
7f2b9189a0
commit
cc79eda0a9
1 file changed
+1
-1
@@ -49,7 +49,7 @@ _z() {
|
||||
|
||||
# maintain the file
|
||||
local tempfile
|
||||
tempfile="$(mktemp $datafile.XXXXXX)" || return
|
||||
tempfile="$(mktemp "$datafile.XXXXXX")" || return
|
||||
while read line; do
|
||||
[ -d "${line%%\|*}" ] && echo $line
|
||||
done < "$datafile" | awk -v path="$*" -v now="$(date +%s)" -F"|" '
|
||||
|
||||
Reference in new issue
Block a user