On 2012-07-30, Enda wrote:
> Is there a way to empty the contents of a large file? The below doesn't work:
>
>
> $ ex -s largefile -c '1,$d' -c wq
>
> Killed
I don't know why that is failing. Ben had some good questions. But
if you just want to empty the file, use this from your shell:
$ > largefile
Regards,
Gary
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment