[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: add several backslash-newline-space
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: add several backslash-newline-space to shell script fragment |
Date: |
Thu, 26 Nov 2020 07:02:14 +0100 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new d805f39 add several backslash-newline-space to shell script fragment
d805f39 is described below
commit d805f3986b813bed2eb0eb71450028aa95b83db0
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Thu Nov 26 01:00:54 2020 -0500
add several backslash-newline-space to shell script fragment
---
taler-wallet.rst | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 92c934f..c26f568 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -1104,11 +1104,16 @@ The following example does a simple withdrawal recoup:
$ coins=$(taler-wallet-cli --wallet-db=mydb.json advanced dump-coins)
# Find coin we want to revoke
- $ rc=$(echo "$coins" | jq -r '[.coins[] | select((.denom_value ==
"INTKUDOS:5"))][0] | .coin_pub')
+ $ rc=$(echo "$coins" | \
+ jq -r '[.coins[] | select((.denom_value == "INTKUDOS:5"))][0] |
.coin_pub')
+
# Find the denom
- $ rd=$(echo "$coins" | jq -r '[.coins[] | select((.denom_value ==
"INTKUDOS:5"))][0] | .denom_pub_hash')
+ $ rd=$(echo "$coins" | \
+ jq -r '[.coins[] | select((.denom_value == "INTKUDOS:5"))][0] |
.denom_pub_hash')
+
# Find all other coins, which will be suspended
- $ susp=$(echo "$coins" | jq --arg rc "$rc" '[.coins[] | select(.coin_pub !=
$rc) | .coin_pub]')
+ $ susp=$(echo "$coins" | \
+ jq --arg rc "$rc" '[.coins[] | select(.coin_pub != $rc) |
.coin_pub]')
# The exchange revokes the denom
$ taler-exchange-keyup -r $rd
@@ -1125,7 +1130,11 @@ The following example does a simple withdrawal recoup:
# Now we buy something, only the coins resulting from recouped will be
# used, as other ones are suspended
- $ taler-wallet-cli --wallet-db=mydb.json testing test-pay -m
https://backend.int.taler.net/ -k sandbox -a "INTKUDOS:1" -s "foo"
+ $ taler-wallet-cli --wallet-db=mydb.json testing test-pay \
+ -m https://backend.int.taler.net/ \
+ -k sandbox \
+ -a "INTKUDOS:1" \
+ -s "foo"
$ taler-wallet-cli --wallet-db=mydb.json run-until-done
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: add several backslash-newline-space to shell script fragment,
gnunet <=