Mercurial > vim
diff runtime/doc/eval.txt @ 5277:42bf9264e64e
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 03 Aug 2013 18:35:36 +0200 |
parents | 09c88160095d |
children | 359743c1f59a |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.4b. Last change: 2013 Jun 11 +*eval.txt* For Vim version 7.4b. Last change: 2013 Aug 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5884,6 +5884,9 @@ system({expr} [, {input}]) *system()* < To make the result more system-independent, the shell output is filtered to replace <CR> with <NL> for Macintosh, and <CR><NL> with <NL> for DOS-like systems. + To avoid the string being truncated at a NUL, all NUL + characters are replaced with SOH (0x01). + The command executed is constructed using several options: 'shell' 'shellcmdflag' 'shellxquote' {expr} 'shellredir' {tmp} 'shellxquote' ({tmp} is an automatically generated file name).