1
0
Fork 0

Altered hashcache retrieve function to return only the second field rather than 2+

This change is necessary since we now store the title in addition to the URL.
This will not be a problem because the URL will not contain spaces.
tpl
Mike Gerwitz 2013-06-04 22:39:44 -04:00
parent 2b143a5d90
commit f04c9f24a8
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ _retrieve()
# always return the intended result
grep "^$hash" "$cachefile" \
| tail -n1 \
| cut -d' ' -f2-
| cut -d' ' -f2
}
# clears the cache file