[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: `man gnunet-search`: better layout for `
From: |
gnunet |
Subject: |
[gnunet] branch master updated: `man gnunet-search`: better layout for `--printf` examples |
Date: |
Sat, 12 Feb 2022 21:18:20 +0100 |
This is an automated email from the git hooks/post-receive script.
madmurphy pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new e94d71fdc `man gnunet-search`: better layout for `--printf` examples
e94d71fdc is described below
commit e94d71fdc640d30ea21fd902eca8a473a03ba68e
Author: madmurphy <madmurphy333@gmail.com>
AuthorDate: Sat Feb 12 20:18:16 2022 +0000
`man gnunet-search`: better layout for `--printf` examples
---
doc/man/gnunet-search.1 | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/doc/man/gnunet-search.1 b/doc/man/gnunet-search.1
index c36f5d060..a3c6e8ece 100644
--- a/doc/man/gnunet-search.1
+++ b/doc/man/gnunet-search.1
@@ -377,16 +377,21 @@ Example 5:
#!/bin/sh
{
printf '<list>'
- gnunet-search -f '\en\et<file uri="%u">
- \et\et<filename len="%l">%f</filename>
- \et\et<size>%s</size>\en\et\et<mimetype>%m</mimetype>
- \et\et<result_id>%n</result_id>
- \et\et<metadata>%a\en\et\et</metadata>\en\et</file>' \e
- -i '\en\et\et<property tid="%i" type="%t">
- \et\et\et<content len="%l">%p</content>
- \et\et\et<property_id>%n</property_id>
- \et\et\et<provided_by>%w</provided_by>
- \et\et</file>' \e
+ gnunet-search -f '
+ <file uri="%u">
+ <filename len="%l">%f</filename>
+ <size>%s</size>
+ <mimetype>%m</mimetype>
+ <result_id>%n</result_id>
+ <metadata>%a
+ </metadata>
+ </file>' \e
+ -i '
+ <property tid="%i" type="%t">
+ <content len="%l">%p</content>
+ <property_id>%n</property_id>
+ <provided_by>%w</provided_by>
+ </property>' \e
-t '2 s' commons
printf '\en</list>\en'
} > commons.xml
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: `man gnunet-search`: better layout for `--printf` examples,
gnunet <=