Monday, February 21, 2011

Re: Including into the current buffer from an external source

Reply to message «Re: Including into the current buffer from an external
source»,
sent 20:37:57 21 February 2011, Monday
by Christian Brabandt:

> You are not only Unix specific, but Shell specific. That is not portable
> and won't even work if you haven't set 'shell' correctly.
Replace ``read! echo $'\0''' with ``read!
{placeholder_for_command_that_has_NULLS_in_its_output}'' and you will get
`portable' example.

Original message:
> Hi ZyX!
>
> (Please don't top post!)
>
> On Mo, 21 Feb 2011, ZyX wrote:
> > Your emulation is incorrect: try to get the same output as ``read!
> > echo $'\0'''. In case of reading file my suggestion works just as well
>
> You are not only Unix specific, but Shell specific. That is not portable
> and won't even work if you haven't set 'shell' correctly.
>
> regards,
> Christian

No comments: