TITLE FORK TO BE SOLVED. NEED "SAME EMAILS SIGNATURES"
This commit is contained in:
parent
014fb5a99e
commit
1e137bbe82
|
@ -64,12 +64,16 @@ while read title; do
|
||||||
NTAGS=$(cat ~/.zen/tmp/${MOATS}/NEW.json | jq -r .tags)
|
NTAGS=$(cat ~/.zen/tmp/${MOATS}/NEW.json | jq -r .tags)
|
||||||
NEMAILS=($(echo "$NTAGS" | grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b"))
|
NEMAILS=($(echo "$NTAGS" | grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b"))
|
||||||
N=${#NEMAILS[@]}
|
N=${#NEMAILS[@]}
|
||||||
|
echo "New Tiddler signatures : ${NEMAILS[*]}"
|
||||||
|
|
||||||
ITAGS=$(cat ~/.zen/tmp/${MOATS}/INSIDE.json | jq -r .tags)
|
ITAGS=$(cat ~/.zen/tmp/${MOATS}/INSIDE.json | jq -r .tags)
|
||||||
IEMAILS=($(echo "$ITAGS" | grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b"))
|
IEMAILS=($(echo "$ITAGS" | grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b"))
|
||||||
I=${#IEMAILS[@]}
|
I=${#IEMAILS[@]}
|
||||||
|
echo "Inside Tiddler signatures : ${IEMAILS[*]}"
|
||||||
|
|
||||||
if [ ${N} -gt ${I} ]; then
|
## NB: COULD NEED SORTING (TODO)
|
||||||
|
|
||||||
|
if [[ "${NEMAILS[*]}" != "${IEMAILS[*]}" ]; then
|
||||||
|
|
||||||
## DIFFERENCE IN EMAIL SIGNATURES
|
## DIFFERENCE IN EMAIL SIGNATURES
|
||||||
COMMON=()
|
COMMON=()
|
||||||
|
@ -105,11 +109,11 @@ while read title; do
|
||||||
for email in "${unique_combined[@]}"; do
|
for email in "${unique_combined[@]}"; do
|
||||||
|
|
||||||
echo "Hello\n\n
|
echo "Hello\n\n
|
||||||
Tiddler with same title is existing in ${unique_combined[*]} TW(s) \n\n
|
A tiddler with same title is existing in ${unique_combined[*]} TW(s) \n\n
|
||||||
$title\n\n
|
$title\n\n
|
||||||
Please choose update your TW grabbing it from\n
|
Please choose update your TW grabbing it from\n
|
||||||
* ACTUAL: ${myIPFS}/ipfs/${INSIDETID}\n
|
* ACTUAL : ${myIPFS}/ipfs/${INSIDETID}\n
|
||||||
* NEW: ${myIPFS}/ipfs/${NEWTID}\n\n
|
* NEW : ${myIPFS}/ipfs/${NEWTID}\n\n
|
||||||
or fork modifying titles
|
or fork modifying titles
|
||||||
|
|
||||||
You can discuss about it in room ${MOATS}\n
|
You can discuss about it in room ${MOATS}\n
|
||||||
|
@ -120,7 +124,7 @@ https://vdo.copylaradio.com
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
## WAIT TITLE FORK TO BE SOLVED
|
## TITLE FORK TO BE SOLVED. NEED "SAME EMAILS SIGNATURES"
|
||||||
continue
|
continue
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue