Compare commits
	
		
			2 Commits
		
	
	
		
			70bba87946
			...
			c2f99c259d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c2f99c259d | |||
| 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:
 | 
					2.2:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  * New: Allow for the value of other entries to be in the 'sed' command of a
 | 
					  * 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
 | 
					enginedir=/usr/share/BBlog/engines
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# version
 | 
					# version
 | 
				
			||||||
version=2.2
 | 
					version=2.3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function print_config {
 | 
					function print_config {
 | 
				
			||||||
  echo "engine: $engine"
 | 
					  echo "engine: $engine"
 | 
				
			||||||
@@ -223,7 +223,7 @@ function replace_format {
 | 
				
			|||||||
    # apply filter
 | 
					    # apply filter
 | 
				
			||||||
    if [ -n "$filter" ]; then
 | 
					    if [ -n "$filter" ]; then
 | 
				
			||||||
      # replace '%' inside filter text
 | 
					      # 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" )
 | 
					      replacement=$(eval "echo \$$field" | sed -r "$sed_cmd" )
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      replacement=$(eval "echo \$$field")
 | 
					      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="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 FROM bibliography"
 | 
					base_SQL_noprauth="SELECT title,author,journal,year,token,doi,arxiv,citeref,bibtex,url FROM bibliography"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# add quotes
 | 
					# add quotes
 | 
				
			||||||
function SQL_addquotes {
 | 
					function SQL_addquotes {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
.Dd $Mdocdate: March 21 2022 $
 | 
					.Dd $Mdocdate: July 26 2023 $
 | 
				
			||||||
.Dt BBLOG 2.2
 | 
					.Dt BBLOG 2.3
 | 
				
			||||||
.Os
 | 
					.Os
 | 
				
			||||||
.Sh NAME
 | 
					.Sh NAME
 | 
				
			||||||
.Nm BBlog
 | 
					.Nm BBlog
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
.Dd $Mdocdate: November 5 2019 $
 | 
					.Dd $Mdocdate: July 26 2023 $
 | 
				
			||||||
.Dt BBLOG-sqlite
 | 
					.Dt BBLOG-sqlite
 | 
				
			||||||
.Os
 | 
					.Os
 | 
				
			||||||
.Sh DESCRIPTION
 | 
					.Sh DESCRIPTION
 | 
				
			||||||
@@ -28,6 +28,8 @@ label of the reference
 | 
				
			|||||||
.It prauth
 | 
					.It prauth
 | 
				
			||||||
bibliography entries are ordered alphabetically with respect to this entry
 | 
					bibliography entries are ordered alphabetically with respect to this entry
 | 
				
			||||||
label of the reference
 | 
					label of the reference
 | 
				
			||||||
 | 
					.It url
 | 
				
			||||||
 | 
					link to paper
 | 
				
			||||||
.El
 | 
					.El
 | 
				
			||||||
.Sh AUTHORS
 | 
					.Sh AUTHORS
 | 
				
			||||||
The sqlite BBlog engine was written by Ian Jauslin.
 | 
					The sqlite BBlog engine was written by Ian Jauslin.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user