View Single Post
Old 03-01-2012, 07:36 PM   #4
Zatakawa
Enthusiast
Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.Zatakawa ought to be getting tired of karma fortunes by now.
 
Zatakawa's Avatar
 
Posts: 37
Karma: 500222
Join Date: Mar 2011
Device: none
Sorry for reviving this old thread, but your BASH command does not always work, Kovid. If a title or author is very long and needs to lines to be displayed, tail -n2 does not work anymore.

Fiddling around with "--line-width=LINE_WIDTH" also does not offer a solution because line width is never longer than the book with the longest title.

EDIT: One workaround is to use -f timestamp

Last edited by Zatakawa; 03-01-2012 at 10:30 PM.
Zatakawa is offline   Reply With Quote