Try it without vim:

cat input_file | nl | tail -1 | cut -f1 >>no_of_lines &&
echo >> no_of_lines &&
cat input_file >> no_of_lines

This does need almost no ram and takes about 3 minutes.

Regards
Marco


-- 
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

Reply via email to