|
From: | Kevin Rodgers |
Subject: | Re: help editing huge files in emacs |
Date: | Wed, 15 Mar 2006 09:03:03 -0700 |
User-agent: | Mozilla Thunderbird 0.9 (X11/20041105) |
Jesús Velazquez wrote:
How can I edit a selected number of lines in a 4GB file in Emacs without open the whole file? Is it possible?
beg=12345 end=67890 sed -n "${beg},${end}p" big_file > excerpt emacs excerpt sed "${beg},${end}d;$((beg - 1)r excerpt" big_file > new_big_file -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |