Compare commits

...

2 Commits

Author SHA1 Message Date
Ian Jauslin c2f99c259d Update to v2.3:
New: access 'url' entry in sqlite databases.
2023-07-26 09:34:22 -05:00
Ian Jauslin c6e9cb3af4 Update to v2.2.1:
Fix: Missing quotes in filter interpreter.
2023-03-27 11:47:09 -04:00
5 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,12 @@
2.3:
* New: access 'url' entry in sqlite databases.
2.2.1:
* Fix: Missing quotes in filter interpreter.
2.2:
* New: Allow for the value of other entries to be in the 'sed' command of a

View File

@ -18,7 +18,7 @@
enginedir=/usr/share/BBlog/engines
# version
version=2.2
version=2.3
function print_config {
echo "engine: $engine"
@ -223,7 +223,7 @@ function replace_format {
# apply filter
if [ -n "$filter" ]; then
# replace '%' inside filter text
sed_cmd=$(replace_format $(eval "echo \$filter_$filter"))
sed_cmd=$(replace_format "$(eval echo \$filter_$filter)")
replacement=$(eval "echo \$$field" | sed -r "$sed_cmd" )
else
replacement=$(eval "echo \$$field")

View File

@ -1,5 +1,5 @@
base_SQL="SELECT title,author,journal,year,token,doi,arxiv,citeref,prauth,bibtex FROM bibliography"
base_SQL_noprauth="SELECT title,author,journal,year,token,doi,arxiv,citeref,bibtex FROM bibliography"
base_SQL="SELECT title,author,journal,year,token,doi,arxiv,citeref,prauth,bibtex,url FROM bibliography"
base_SQL_noprauth="SELECT title,author,journal,year,token,doi,arxiv,citeref,bibtex,url FROM bibliography"
# add quotes
function SQL_addquotes {

View File

@ -1,5 +1,5 @@
.Dd $Mdocdate: March 21 2022 $
.Dt BBLOG 2.2
.Dd $Mdocdate: July 26 2023 $
.Dt BBLOG 2.3
.Os
.Sh NAME
.Nm BBlog

View File

@ -1,4 +1,4 @@
.Dd $Mdocdate: November 5 2019 $
.Dd $Mdocdate: July 26 2023 $
.Dt BBLOG-sqlite
.Os
.Sh DESCRIPTION
@ -28,6 +28,8 @@ label of the reference
.It prauth
bibliography entries are ordered alphabetically with respect to this entry
label of the reference
.It url
link to paper
.El
.Sh AUTHORS
The sqlite BBlog engine was written by Ian Jauslin.