X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=blobdiff_plain;f=doc%2Fcmd%2Fnncp-exec.texi;h=8b9c7537c0a4100ab9f8bf48944185a5f6e1bb11;hp=7bd7508402413b1c1f7d4666961461401fdaa622;hb=203dfe36da7adf2b3089e4fa4017a67409cbad70;hpb=0ee0ba3784ce20e69d8db6316c99e7f0b6d30809 diff --git a/doc/cmd/nncp-exec.texi b/doc/cmd/nncp-exec.texi index 7bd7508..8b9c753 100644 --- a/doc/cmd/nncp-exec.texi +++ b/doc/cmd/nncp-exec.texi @@ -1,9 +1,10 @@ @node nncp-exec +@pindex nncp-exec @section nncp-exec @example -$ nncp-exec [options] [-use-tmp] [-nocompress] NODE HANDLE [ARG0 ARG1 ...] -$ nncp-exec [options] [-use-tmp] [-nocompress] area:AREA HANDLE [ARG0 ARG1 ...] +$ nncp-exec [options] [-use-tmp] [-nocompress] NODE HANDLE [ARG0 ARG1 @dots{}] +$ nncp-exec [options] [-use-tmp] [-nocompress] area:AREA HANDLE [ARG0 ARG1 @dots{}] @end example Send execution command to @option{NODE} for specified @option{HANDLE}. @@ -12,11 +13,6 @@ Body is read from @code{stdin} into memory and compressed (unless execute specified @ref{CfgExec, handle} command with @option{ARG*} appended and decompressed body fed to command's @code{stdin}. -If @option{-use-tmp} option is specified, then @code{stdin} data is read -into temporary file first, requiring twice more disk space, but no -memory requirements. @ref{StdinTmpFile, Same temporary file} rules -applies as with @ref{nncp-file, nncp-file -} command. - For example, if remote side has following configuration file for your node: @@ -27,6 +23,9 @@ exec: { } @end verbatim +@vindex NNCP_SELF +@vindex NNCP_SENDER +@vindex NNCP_NICE then executing @verb{|echo My message | nncp-exec -replynice 123 REMOTE sendmail root@localhost|} will lead to execution of: