mirror of
https://github.com/Rucknium/xmrpeers.git
synced 2024-11-16 10:27:36 +00:00
Fix compress.log() docs
This commit is contained in:
parent
ec71c63777
commit
4374936150
2 changed files with 6 additions and 2 deletions
|
@ -197,7 +197,9 @@ get.p2p.log <- function(bitmonero.dir = "~/.bitmonero", output.file = NULL) {
|
|||
#' With default arguments, this function accomplishes the same thing as this
|
||||
#' Linux shell call:
|
||||
#' ```
|
||||
#' zgrep -a 'net.p2p.msg' bitmonero.log* > extracted-xmr-log; xz extracted-xmr-log;
|
||||
#' grep -I "net.p2p.msg" bitmonero.log* > extracted-xmr-log
|
||||
#' for file in bitmonero.log*.tar.gz; do tar xf "$file" --to-command 'egrep -Ha --label="$TAR_FILENAME" "net.p2p.msg" || true' >> extracted-xmr-log; done
|
||||
#' xz extracted-xmr-log
|
||||
#' ```
|
||||
#'
|
||||
#'
|
||||
|
|
|
@ -29,7 +29,9 @@ NULL (invisible)
|
|||
With default arguments, this function accomplishes the same thing as this
|
||||
Linux shell call:
|
||||
|
||||
\if{html}{\out{<div class="sourceCode">}}\preformatted{zgrep -a 'net.p2p.msg' bitmonero.log* > extracted-xmr-log; xz extracted-xmr-log;
|
||||
\if{html}{\out{<div class="sourceCode">}}\preformatted{grep -I "net.p2p.msg" bitmonero.log* > extracted-xmr-log
|
||||
for file in bitmonero.log*.tar.gz; do tar xf "$file" --to-command 'egrep -Ha --label="$TAR_FILENAME" "net.p2p.msg" || true' >> extracted-xmr-log; done
|
||||
xz extracted-xmr-log
|
||||
}\if{html}{\out{</div>}}
|
||||
}
|
||||
\examples{
|
||||
|
|
Loading…
Reference in a new issue