Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| be267f64e7 | |||
| 60ba48d308 |
@@ -1,3 +1,9 @@
|
|||||||
|
2.3.2:
|
||||||
|
* Fix: Do not fail when a sqlite entry is empty
|
||||||
|
|
||||||
|
2.3.1:
|
||||||
|
* Fix: Compatibility with sqlite3 version >= 3.52.0
|
||||||
|
|
||||||
2.3:
|
2.3:
|
||||||
|
|
||||||
* New: access 'url' entry in sqlite databases.
|
* New: access 'url' entry in sqlite databases.
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
BBlog
|
BBlog
|
||||||
Copyright Ian Jauslin 2015-2023
|
Copyright Ian Jauslin 2015-2026
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
## Copyright Ian Jauslin 2015-2023
|
## Copyright Ian Jauslin 2015-2026
|
||||||
##
|
##
|
||||||
## 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=/usr/share/BBlog/engines
|
enginedir=/home/ian/Programs/BBlog2/src/engines
|
||||||
|
|
||||||
# version
|
# version
|
||||||
version=2.3
|
version=2.3.2
|
||||||
|
|
||||||
function print_config {
|
function print_config {
|
||||||
echo "engine: $engine"
|
echo "engine: $engine"
|
||||||
@@ -375,6 +375,7 @@ function format_BBlog_entries {
|
|||||||
fi
|
fi
|
||||||
has_there_been_a_nonempty_line_so_far=0
|
has_there_been_a_nonempty_line_so_far=0
|
||||||
else
|
else
|
||||||
|
echo "$line" 1>&2
|
||||||
eval "$line"
|
eval "$line"
|
||||||
has_there_been_a_nonempty_line_so_far=1
|
has_there_been_a_nonempty_line_so_far=1
|
||||||
fi
|
fi
|
||||||
|
|||||||
+4
-3
@@ -7,9 +7,10 @@ function SQL_addquotes {
|
|||||||
# add quotes and escape string
|
# add quotes and escape string
|
||||||
if [ -n "$line" ]; then
|
if [ -n "$line" ]; then
|
||||||
line=$(escape_string "$line")
|
line=$(escape_string "$line")
|
||||||
line="${line/%=/= }"
|
|
||||||
line="${line/ =/=\"}"
|
line="${line/ =/=\"}"
|
||||||
line="${line/%/\"}"
|
# remove extra space
|
||||||
|
line="${line/=\" /=\"}"
|
||||||
|
line="$line\""
|
||||||
fi
|
fi
|
||||||
echo "$line"
|
echo "$line"
|
||||||
done
|
done
|
||||||
@@ -63,7 +64,7 @@ function generate_SQL_alpha {
|
|||||||
function fetch_BBlog_entries_alpha {
|
function fetch_BBlog_entries_alpha {
|
||||||
SQL="$(generate_SQL_alpha)"
|
SQL="$(generate_SQL_alpha)"
|
||||||
SQL="${SQL% OR citeref=\'} ORDER BY prauth,year"
|
SQL="${SQL% OR citeref=\'} ORDER BY prauth,year"
|
||||||
sqlite3 -line "$db" "$SQL" | SQL_addquotes
|
sqlite3 "$db" ".mode line --colsep ' = '" "$SQL" | SQL_addquotes
|
||||||
# add an empty line
|
# add an empty line
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
.Dd $Mdocdate: July 26 2023 $
|
.Dd $Mdocdate: July 26 2026 $
|
||||||
.Dt BBLOG 2.3
|
.Dt BBLOG 2.3.2
|
||||||
.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-2023
|
copyright Ian Jauslin 2015-2026
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Sx BBlog-sqlite Ns (7)
|
.Sx BBlog-sqlite Ns (7)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
.Dd $Mdocdate: July 26 2023 $
|
.Dd $Mdocdate: July 26 2026 $
|
||||||
.Dt BBLOG-sqlite
|
.Dt BBLOG-sqlite
|
||||||
.Os
|
.Os
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
@@ -34,7 +34,7 @@ link to paper
|
|||||||
.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-2023
|
copyright Ian Jauslin 2015-2026
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Sx BBlog Ns (1) ,
|
.Sx BBlog Ns (1) ,
|
||||||
.Sx sqlite3 Ns (1)
|
.Sx sqlite3 Ns (1)
|
||||||
|
|||||||
Reference in New Issue
Block a user