On Thu, 7 Aug 2014 15:28:08 -0400 Rob Owens <[email protected]> wrote: > I do miss the ability to grep my bookmarks.html file. Maybe there's a > way to do it with sqlite, but I never learned. > > One thing that attracted me to Linux many years ago was that due to its > Unix heritage,
You use the SQL language... which also has a long heritage -- I think from the 1960s... It's fairly simple to produce queries. And there's no need to worry about regex, which - IMO - is far more difficult. So -- instead of 'grep' you would use sqlite3 [dbfile] [query] To see what kind of things are stored in the firefox places database: of course your .default file will most likely be named differently... sqlite3 ~/.mozilla/firefox/tolgu73t.default/places.sqlite ".tables" and to list bookmarks: sqlite3 ~/.mozilla/firefox/tolgu73t.default/places.sqlite "select * from moz_bookmarks" If try this, you'll notice that the output looks 'nice' -- in that it seems quite 'grep-able' ... And that's what's sorely missing from journald. --Andrew -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

