Compare commits
2 Commits
70bba87946
...
c2f99c259d
Author | SHA1 | Date |
---|---|---|
Ian Jauslin | c2f99c259d | |
Ian Jauslin | c6e9cb3af4 |
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue