Remove - bookmarks.sh - Simple bookmark manager
(HTM) hg clone https://bitbucket.org/iamleot/bookmarks.sh
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset bd1e28ebf51bf17c0f58f624d2a5826707334a2f
(DIR) parent 18aba69b87ddffdeb1d467f8601d6957c19acb90
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Tue, 16 Oct 2018 09:23:40
Remove
(I no longer use it, if you think it is nice to have please let me know and I
will reimport it!)
Diffstat:
bookmarks2db.awk | 60 --------------------------------------------------------
1 files changed, 0 insertions(+), 60 deletions(-)
---
diff -r 18aba69b87dd -r bd1e28ebf51b bookmarks2db.awk
--- a/bookmarks2db.awk Fri Sep 28 01:36:20 2018 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-#!/usr/bin/awk -f
-
-#
-# Copyright (c) 2018 Leonardo Taccari
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
-# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-#
-
-#
-# Convert a bookmarks file to bookmarks.db for luakit.
-#
-# Usage:
-#
-# % bookmarks2db.awk < bookmarks | sqlite3 bookmarks.db
-#
-
-BEGIN {
- FS = "\t"
-
- print "CREATE TABLE bookmarks ("
- print " id INTEGER PRIMARY KEY,"
- print " uri TEXT NOT NULL,"
- print " title TEXT NOT NULL,"
- print " desc TEXT NOT NULL,"
- print " tags TEXT NOT NULL,"
- print " created INTEGER,"
- print " modified INTEGER"
- print ");"
-
-}
-
-{
- tags = $3
- gsub("@", "", tags)
- gsub(",", " ", tags)
-
- printf("INSERT INTO 'bookmarks' VALUES(%d,'%s','%s','%s','%s',%d,%d);\n",
- NR, $2, $1, $4, tags, systime(), systime())
-}