projects
/
lace
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated README.md
[lace]
/
lace
diff --git
a/lace
b/lace
index 57c66634c0dc550ccbb0720c5295e539c175b962..2b7ad41771bd435d83e00d337bd82dceace413c9 100755
(executable)
--- a/
lace
+++ b/
lace
@@
-112,9
+112,10
@@
if [ ! -z "$fav" ];then
[[ ! -z $(sed -n '$p' $tmpfile) ]] && echo "" >> $tmpfile
fi
done <"$subsfile"
[[ ! -z $(sed -n '$p' $tmpfile) ]] && echo "" >> $tmpfile
fi
done <"$subsfile"
- cat $tmpfile | sed -r ':r;/(^|\n)$/!{$!{N;br}};s/\n/\v/g' | sed -rn '/^## .*/p' | sed -e 's/\v/\n/g' | sed -e "s/^## \(.*\)/date -d '\1' +%s/e" | sed -r ':r;/(^|\n)$/!{$!{N;br}};s/\n/\v/g' | sort -r | sed -e 's/\v/\n/g' > $tmpfile
+ cat $tmpfile | sed -r ':r;/(^|\n)$/!{$!{N;br}};s/\n/\v/g' | sed -rn '/^## .*/p' | sed -e 's/\v/\n/g' | sed -e "s/^## \(.*\)/date -d '\1' +%s/e" | sed -r ':r;/(^|\n)$/!{$!{N;br}};s/\n/\v/g' | sort -r | sed -e 's/\v/\n/g' > $tmpfile
3
+cp $tmpfile3 $tmpfile
# removed segment of code | sed "s/^\([0-9]\+\)$/{reldate \1 $now_unix;}/e" | sed "s/^\([0-9]* [a-z]* ago\)$/${esc}$blue\1${esc}$nc/g"
while read line; do
# removed segment of code | sed "s/^\([0-9]\+\)$/{reldate \1 $now_unix;}/e" | sed "s/^\([0-9]* [a-z]* ago\)$/${esc}$blue\1${esc}$nc/g"
while read line; do
@@
-153,7
+154,7
@@
elif [[ "$1" == "unsub" ]];then
elif [[ "$1" == "subs" ]];then
awk '{print $2" ("$1")"}' $subsfile
elif [[ "$1" == "update" ]];then
elif [[ "$1" == "subs" ]];then
awk '{print $2" ("$1")"}' $subsfile
elif [[ "$1" == "update" ]];then
- curl https://
raw.githubusercontent.com/frrobert2/lace/main
/lace > "${BASH_SOURCE[0]}"
+ curl https://
gitlab.com/frrobert2/lace/-/raw/dev
/lace > "${BASH_SOURCE[0]}"
else
now_unix="$(date +'%s')"
if [[ "$1" == "nope" ]];then
else
now_unix="$(date +'%s')"
if [[ "$1" == "nope" ]];then