Hi Andy,
On Thu, Jul 10, at 08:58 Andy Wokula wrote:
>
> Hmm, from my testing: :redir works a bit strange. While you think
> :echo "line" sends "line\n", actually "\nline" is redirected. That's
> why you get a first empty line in the file and the final EOL is missing.
> And readfile() doesn't
Ag. D. Hatzimanikas schrieb:
> Hi,
>
> I was running a function, (say write()) to call redir to write in a
> file and then another function, (say read()) to call readfile to read
> the last entry from that same file, when I discovered that in every
> second call to those functions, readfile coul
Hi,
I was running a function, (say write()) to call redir to write in a
file and then another function, (say read()) to call readfile to read
the last entry from that same file, when I discovered that in every
second call to those functions, readfile couldn't read the last line of
the file, alth