The purpose of insert is gone with auto-compaction.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
This commit is contained in:
Arun Prakash Jana 2016-03-25 19:42:49 +05:30
parent fa39628afd
commit c18fe5635f
3 changed files with 6 additions and 6 deletions

View File

@ -110,7 +110,7 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin
## Operational notes
- It's advisable to copy URLs directly from the browser address bar, i.e., along with the leading `http://` or `https://` token. `buku` looks up title data (found within <title></title> tags of HTML) from the web ONLY for fully-formed HTTP(S) URLs.
- If the URL contains characters like `;`, `&` or brackets they may be interpreted specially by the shell. To avoid it, add the URL within single `'` or double `"` quotes.
- The same URL cannot be added twice. You can update tags and re-fetch title data. You can also delete it and insert at the same index.
- The same URL cannot be added twice. You can update tags and re-fetch title data. You can also insert a new bookmark at a free index.
- You can either add or update or delete record(s) in one instance. A combination of these operations is not supported in a single run.
- Search works in mysterious ways:
- Substrings match (`match` matches `rematched`) for URL, tags and title.
@ -133,7 +133,7 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin
-D delete ALL bookmarks
-e show bookmarks with empty titles or no tags
-g show all tags (sorted alphabetically)
-i N insert entry at DB index N, useful to fill deleted index
-i N insert new bookmark at free DB index N
-k decrypt (unlock) database file
-l encrypt (lock) database file
-m manually add or update the title offline, works with -a, -i, -u

2
buku
View File

@ -82,7 +82,7 @@ def usage():
print(" -D delete ALL bookmarks")
print(" -e show bookmarks with empty titles or no tags")
print(" -g show all tags (sorted alphabetically)")
print(" -i N insert entry at DB index N, useful to fill deleted index")
print(" -i N insert new bookmark at free DB index N")
print(" -k decrypt (unlock) database file")
print(" -l encrypt (lock) database file")
print(" -m manually add or update the title offline, works with -a, -i, -u")

6
buku.1
View File

@ -19,7 +19,7 @@ It's advisable to copy URLs directly from the browser address bar, i.e., along w
.PP
If the URL contains characters like ';', '&' or brackets they may be interpreted specially by the shell. To avoid it, add the URL within single ''' or double '"' qoutes.
.PP
The same URL cannot be added twice. You can update tags and re-fetch title data. You can also delete it and insert at the same index.
The same URL cannot be added twice. You can update tags and re-fetch title data. You can also insert a new bookmark at a free index.
.PP
You can either add or update or delete record(s) in one instance. A combination of these operations is not supported in a single run.
.PP
@ -55,9 +55,9 @@ Show all bookmarks with empty titles or no tags (for bookkeeping).
Show all unique tags sorted aplhabetically.
.TP
.BI \-i " N"
Add a new record at index
Add a new record at free index
.I N
in DB. Use this option to fill blank indices left by deleted bookmarks.
in DB.
.TP
.B \-k
Decrypt (unlock) the DB file.