mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-02 20:37:51 +02:00
wordstring
This commit is contained in:
@@ -209,11 +209,11 @@ if [ ${walletExists} -eq 0 ]; then
|
|||||||
if [ "${CHOICE}" == "SEED_SCB" ]; then
|
if [ "${CHOICE}" == "SEED_SCB" ]; then
|
||||||
|
|
||||||
# dialog to enter
|
# dialog to enter
|
||||||
#$_temp="/home/admin/.seed.tmp"
|
$_temp="/home/admin/.seed.tmp"
|
||||||
dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by commas, in correct order as numbered)" 9 78
|
dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by commas, in correct order as numbered)" 9 78 2>$_temp
|
||||||
#wordstring=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' )
|
wordstring=$( cat $_temp | tr -dc '[:alnum:]-.' | tr -d ' ' )
|
||||||
#shred $_temp
|
shred $_temp
|
||||||
#echo "processing ..."
|
echo "processing ... ${wordstring}"
|
||||||
|
|
||||||
# remove spaces
|
# remove spaces
|
||||||
#wordstring=$(echo "${wordstring}" | sed 's/[^a-zA-Z0-9 ]//g')
|
#wordstring=$(echo "${wordstring}" | sed 's/[^a-zA-Z0-9 ]//g')
|
||||||
|
Reference in New Issue
Block a user