about summary refs log tree commit diff stats
path: root/fold.sh
diff options
context:
space:
mode:
authorCase Duckworth2020-06-02 21:51:24 -0500
committerCase Duckworth2020-06-02 21:51:24 -0500
commite55d43849551c65431748e7a64fc11595b7fd000 (patch)
tree21868557f689ae4ad4355e12e70f5d93676b6078 /fold.sh
parentReimplement extract_links in bash (diff)
downloadbollux-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 'fold.sh')
0 files changed, 0 insertions, 0 deletions