9bee3043c8
simplify bm_add logic
...
only if i knew how simple things really are.
2021-06-21 06:32:03 +06:00
3fb9d657ec
remove --posix argument
2021-06-06 15:06:25 +06:00
1110213dd6
list: use __tag_search
2021-06-02 03:37:35 +06:00
ee02e2641f
list: simplify QUERY_TITLE parsing logic
2021-06-02 02:11:54 +06:00
ba11421af0
remove local since its not POSIX complaint
...
should be fine for the most part. most of the fucntions are self
contained.
only function that gets called inside of other functions is
bm_list(). all the variables inside bm_list() start with QUERY thus it
shouldn't conflict with variables from other functions.
2021-06-02 02:00:42 +06:00
21d34ac412
use setsid for opening a link
2021-06-02 01:18:15 +06:00
95cab62631
docs: remove "and Usage" from Installation
2021-05-07 17:24:48 +06:00
cf856689cf
escape _ in README
2021-05-07 17:10:35 +06:00
964cc73543
update README description
2021-05-07 17:06:33 +06:00
ec12ab9d5c
bump version to v0.2
2021-05-07 16:35:34 +06:00
fb52f198f9
initial edit implementation
2021-05-07 16:34:06 +06:00
fc443254a3
add comment saying encryption does nothing
2021-05-07 16:31:20 +06:00
24d4151064
remove unimplemented stuff from usage
2021-05-07 16:30:50 +06:00
bccb301531
docs: add Usage and Todo
2021-05-07 16:20:05 +06:00
18e4b1d006
add README
2021-05-06 14:49:58 +06:00
01fba3a6cb
Merge branch 'list' into dev
2021-05-06 14:44:50 +06:00
0e55035325
add --strict to useage
2021-05-06 14:44:07 +06:00
0de035767a
remove auto fetch from config
...
despite the name the script itself is not simple at all.
i dont think i want to complect things any further.
2021-05-05 12:53:51 +06:00
8cc30e4176
add LICENSE
2021-05-02 01:22:18 +06:00
deb114ea70
implement version
2021-05-02 00:02:41 +06:00
776ac02ed2
exit with 0 instead of 1 after printing usage
2021-05-02 00:02:05 +06:00
f9f11699b6
add -p flag to mkdir
2021-05-01 23:58:40 +06:00
9aed499046
store APPNAME in a variable instead of hardcoding
2021-05-01 23:57:23 +06:00
7b4a24818f
Merge branch 'feat_open' into dev
2021-05-01 23:41:56 +06:00
4573ebc349
Merge branch 'list' into dev
2021-05-01 23:41:32 +06:00
334c8986e0
fix: also match newline at the end in $QUERY_TAG
2021-05-01 23:23:27 +06:00
16d300d1fe
change [[:space:]] to [[:blank]] in $QUERY_TAG
...
possibly better
2021-05-01 23:21:12 +06:00
69d2c760a9
send output to null and dont freeze the terminal
2021-05-01 08:18:26 +06:00
d477b86c4c
remove while loop for opening links
...
looks like you can feed the browser multiple links and it works.
2021-05-01 08:13:50 +06:00
bae6ddabc8
fix: $LINK parsing for line number
2021-05-01 08:04:09 +06:00
da2342b738
implement --force
2021-05-01 07:51:08 +06:00
bf3dbb5f30
refactor $LINK and $LINK_NUM parsing
2021-05-01 07:48:19 +06:00
a82ca0dc4f
reimplement argument parsing
2021-05-01 05:09:48 +06:00
4007e22c28
refactor $LINK checking
2021-05-01 02:56:50 +06:00
21062ccec8
implement opening by line number
2021-04-29 04:30:06 +06:00
a9ea53f1fb
reimplement parsing in a case statement
2021-04-29 04:27:07 +06:00
d25064e58f
initial open implementaion
2021-04-23 22:19:27 +06:00
dcb3d03e22
Merge branch 'list' into dev
2021-04-20 12:15:58 +06:00
55c013326d
another list rewrite, using awk and grep
2021-04-20 11:55:02 +06:00
7b70d3aad8
reimplementaion of list, posix compliant
...
still not happy with the implementaion.
theres a bunch of bugs too (see TODO)
my decision to make the script fully posix compliant is biting me back in the ass.
2021-04-16 02:31:43 +06:00
01141b7119
cleanups
...
grep -w isnt posix compliant
the awk command to list all bookmarks isnt either
need to rewrite the entire thing to be posix compliant
also need to figure out a sane and posix compliant way to colorize the output
2021-04-14 08:49:43 +06:00
6c1780cca8
better implementation of add (arguably)
...
the grep regex-s used "should" be posix compliant.
also fixes grabbing words inside a link starting with + into TAGS
2021-04-14 07:30:08 +06:00
0271b270ee
remove list by line num
...
why the fuck would anyone want to list a specific line.
makes no sense. search via title/tag like a normal human bean!
2021-04-13 23:02:55 +06:00
767bd41fb5
implement searching with TAG and TITLE
2021-04-13 22:58:11 +06:00
958f54b755
mutate $QUERY_TAG and TITLE into grepable format
2021-04-13 22:56:33 +06:00
21b4f11ddd
implement list by specific line number
2021-04-13 10:32:48 +06:00
6eb126bd7c
ocd
2021-04-13 10:32:24 +06:00
e0022ab7ab
parse the list arguments
2021-04-13 10:31:47 +06:00
f083645b3c
initial list implementation
...
this is very broken. need to implement proper query parsing.
sniff out line num if exists, sniff out tags and then title.
need to implement strict tag search as well.
2021-04-13 04:10:04 +06:00
b0a4ceddcd
parse -c and -s for list command
2021-04-13 04:10:04 +06:00