Mercurial > vim
view src/testdir/test91.ok @ 10522:7232cd9f8a7c v8.0.0151
commit https://github.com/vim/vim/commit/12c4492dd35e0cd83c8816be2ec849b836109882
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 8 13:26:03 2017 +0100
patch 8.0.0151: passing buffer content to system() is clumsy
Problem: To pass buffer content to system() and systemlist() one has to
first create a string or list.
Solution: Allow passing a buffer number. (LemonBoy, closes #1240)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Jan 2017 13:30:04 +0100 |
parents | e8eccb9621f7 |
children | 5780bd3a5a7e |
line wrap: on
line source
start: 'abcd' 'abcd' '1234' '1234' {'var_num': '1234'} {'var_num': '1234'} '5678' {} {} '' '5678' 0 0 dos 1 iso-8859-2 'Dance' 'Dance' {'var_str': 'Dance'} {'var_str': 'Dance'} 'Chance' {} {} '' 'Chance' 0 0 [1, 2, 3] [1, 2, 3] {'var_list': [1, 2, 3], 'other': 777} {'var_list': [1, 2, 3], 'other': 777} [4, 5, 6, 7] '' [4, 5, 6, 7] '' [4, 5, 6, 7] {'dict': 'tabwin'} {'dict': 'tabwin'} {'var_dict': {'dict': 'tabwin'}} {'var_dict': {'dict': 'tabwin'}} {'dict2': 'newval'} {} {} '' {'dict2': 'newval'} '' {'dict2': 'newval'} '' 1