diff options
author | Case Duckworth | 2020-06-02 21:51:24 -0500 |
---|---|---|
committer | Case Duckworth | 2020-06-02 21:51:24 -0500 |
commit | e55d43849551c65431748e7a64fc11595b7fd000 (patch) | |
tree | 21868557f689ae4ad4355e12e70f5d93676b6078 /wip | |
parent | Reimplement extract_links in bash (diff) | |
download | bollux-e55d43849551c65431748e7a64fc11595b7fd000.tar.gz bollux-e55d43849551c65431748e7a64fc11595b7fd000.zip |
Add history file
I added a history file at $XDG_DATA_HOME/bollux/history. Its format is of the form <date %FT%T> <URL> <TITLE> the date is generated with the printf trick. I should probably be doing version checking or at least say we require bash 4+. The code to get the title of the page is pretty gross. Basically I have to run the content of the pipeline through like, two times? A read loop. Check out ll. 333-348 to see how weird it is.
Diffstat (limited to 'wip')
0 files changed, 0 insertions, 0 deletions