Update to v2.1.3:
Fixed: entries that contain a '%' do not cause a failure. New: access 'bibtex' entry in sqlite databases
This commit is contained in:
parent
4a8e51c3c9
commit
9eafbe43eb
@ -1,3 +1,10 @@
|
|||||||
|
2.1.3:
|
||||||
|
|
||||||
|
* Fixed: entries that contain a '%' do not cause a failure.
|
||||||
|
|
||||||
|
* New: access 'bibtex' entry in sqlite databases
|
||||||
|
|
||||||
|
|
||||||
2.1.2:
|
2.1.2:
|
||||||
|
|
||||||
* Fixed: 'extra' entries would override database entries if they shared the
|
* Fixed: 'extra' entries would override database entries if they shared the
|
||||||
|
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
|||||||
## Copyright Ian Jauslin 2015-2018
|
## Copyright Ian Jauslin 2015-2019
|
||||||
##
|
##
|
||||||
## Licensed under the Apache License, Version 2.0 (the "License");
|
## Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
## you may not use this file except in compliance with the License.
|
## you may not use this file except in compliance with the License.
|
||||||
|
2
NOTICE
2
NOTICE
@ -1,2 +1,2 @@
|
|||||||
BBlog
|
BBlog
|
||||||
Copyright Ian Jauslin 2015-2018
|
Copyright Ian Jauslin 2015-2019
|
||||||
|
13
bin/BBlog
13
bin/BBlog
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
## Copyright Ian Jauslin 2015-2018
|
## Copyright Ian Jauslin 2015-2019
|
||||||
##
|
##
|
||||||
## Licensed under the Apache License, Version 2.0 (the "License");
|
## Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
## you may not use this file except in compliance with the License.
|
## you may not use this file except in compliance with the License.
|
||||||
@ -15,10 +15,10 @@
|
|||||||
## limitations under the License.
|
## limitations under the License.
|
||||||
|
|
||||||
# directory containing the engine files
|
# directory containing the engine files
|
||||||
enginedir=
|
enginedir=/home/ian/Programs/BBlog2/src/engines
|
||||||
|
|
||||||
# version
|
# version
|
||||||
version=2.1.2
|
version=2.1.3
|
||||||
|
|
||||||
function print_config {
|
function print_config {
|
||||||
echo "engine: $engine"
|
echo "engine: $engine"
|
||||||
@ -227,10 +227,17 @@ function replace_format {
|
|||||||
else
|
else
|
||||||
replacement=$(eval "echo \$$field")
|
replacement=$(eval "echo \$$field")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# escape '%' in replacement
|
||||||
|
replacement="${replacement//\%/::iansays:percent::}"
|
||||||
|
|
||||||
|
|
||||||
out="${out//\%$command\%/$replacement}"
|
out="${out//\%$command\%/$replacement}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# un-escape '%' in replacement
|
||||||
|
out="${out//::iansays:percent::/\%}"
|
||||||
|
|
||||||
# finish replacing newlines
|
# finish replacing newlines
|
||||||
out="${out//\\n/%}"
|
out="${out//\\n/%}"
|
||||||
out=$(echo "$out" | tr "%" "\n")
|
out=$(echo "$out" | tr "%" "\n")
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.Dd $Mdocdate: June 29 2018 $
|
.Dd $Mdocdate: November 5 2019 $
|
||||||
.Dt BBLOG 2.1.2
|
.Dt BBLOG 2.1.3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm BBlog
|
.Nm BBlog
|
||||||
@ -194,6 +194,6 @@ automatically adds a letter (from 'b' to 'z') at the end of non-unique tokens, i
|
|||||||
.Nm
|
.Nm
|
||||||
was written by Ian Jauslin.
|
was written by Ian Jauslin.
|
||||||
.Sh COPYRIGHT
|
.Sh COPYRIGHT
|
||||||
copyright Ian Jauslin 2015-2018
|
copyright Ian Jauslin 2015-2019
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Sx BBlog-sqlite Ns (7)
|
.Sx BBlog-sqlite Ns (7)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.Dd $Mdocdate: June 29 2018 $
|
.Dd $Mdocdate: Novermber 5 2019 $
|
||||||
.Dt BBLOG-sqlite
|
.Dt BBLOG-sqlite
|
||||||
.Os
|
.Os
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
@ -32,7 +32,7 @@ label of the reference
|
|||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
The sqlite BBlog engine was written by Ian Jauslin.
|
The sqlite BBlog engine was written by Ian Jauslin.
|
||||||
.Sh COPYRIGHT
|
.Sh COPYRIGHT
|
||||||
copyright Ian Jauslin 2015-2018
|
copyright Ian Jauslin 2015-2019
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Sx BBlog Ns (1) ,
|
.Sx BBlog Ns (1) ,
|
||||||
.Sx sqlite3 Ns (1)
|
.Sx sqlite3 Ns (1)
|
||||||
|
Loading…
Reference in New Issue
Block a user