Commit Graph

91 Commits

Author SHA1 Message Date
NRK
f9f11699b6 add -p flag to mkdir 2021-05-01 23:58:40 +06:00
NRK
9aed499046 store APPNAME in a variable instead of hardcoding 2021-05-01 23:57:23 +06:00
NRK
7b4a24818f Merge branch 'feat_open' into dev 2021-05-01 23:41:56 +06:00
NRK
4573ebc349 Merge branch 'list' into dev 2021-05-01 23:41:32 +06:00
NRK
334c8986e0 fix: also match newline at the end in $QUERY_TAG 2021-05-01 23:23:27 +06:00
NRK
16d300d1fe change [[:space:]] to [[:blank]] in $QUERY_TAG
possibly better
2021-05-01 23:21:12 +06:00
NRK
69d2c760a9 send output to null and dont freeze the terminal 2021-05-01 08:18:26 +06:00
NRK
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
NRK
bae6ddabc8 fix: $LINK parsing for line number 2021-05-01 08:04:09 +06:00
NRK
da2342b738 implement --force 2021-05-01 07:51:08 +06:00
NRK
bf3dbb5f30 refactor $LINK and $LINK_NUM parsing 2021-05-01 07:48:19 +06:00
NRK
a82ca0dc4f reimplement argument parsing 2021-05-01 05:09:48 +06:00
NRK
4007e22c28 refactor $LINK checking 2021-05-01 02:56:50 +06:00
NRK
21062ccec8 implement opening by line number 2021-04-29 04:30:06 +06:00
NRK
a9ea53f1fb reimplement parsing in a case statement 2021-04-29 04:27:07 +06:00
NRK
d25064e58f initial open implementaion 2021-04-23 22:19:27 +06:00
NRK
dcb3d03e22 Merge branch 'list' into dev 2021-04-20 12:15:58 +06:00
NRK
55c013326d another list rewrite, using awk and grep 2021-04-20 11:55:02 +06:00
NRK
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
NRK
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
NRK
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
NRK
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
NRK
767bd41fb5 implement searching with TAG and TITLE 2021-04-13 22:58:11 +06:00
NRK
958f54b755 mutate $QUERY_TAG and TITLE into grepable format 2021-04-13 22:56:33 +06:00
NRK
21b4f11ddd implement list by specific line number 2021-04-13 10:32:48 +06:00
NRK
6eb126bd7c ocd 2021-04-13 10:32:24 +06:00
NRK
e0022ab7ab parse the list arguments 2021-04-13 10:31:47 +06:00
NRK
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
NRK
b0a4ceddcd parse -c and -s for list command 2021-04-13 04:10:04 +06:00
NRK
432b849e0c implemented add 2021-04-13 04:09:38 +06:00
NRK
d033335db9 changed COL_TITLE to non-bold 2021-04-13 04:08:51 +06:00
NRK
208dc09da8 make $DATA_DIR if it doesnt exist 2021-04-12 21:27:36 +06:00
NRK
4ec761f4e2 added error msg for no arguments 2021-04-12 21:26:31 +06:00
NRK
cb10f9e1ea added comment for functions and main 2021-04-12 21:25:33 +06:00
NRK
cdccca3499 added config variable DATA_FILE 2021-04-12 21:19:05 +06:00
NRK
85607d6def added config variable for line number color 2021-04-12 05:19:36 +06:00
NRK
a2b7fdb9ed added command parsing 2021-04-12 03:50:22 +06:00
NRK
fc7c8b9cb1 add usage() and die() 2021-04-12 03:31:26 +06:00
NRK
f0d5cc8e75 add auto title fetch config variable 2021-04-12 01:48:50 +06:00
NRK
9d91fbb2ad added all config variables 2021-04-12 00:55:44 +06:00
NRK
507b4eb48e initial commit 2021-04-12 00:22:49 +06:00