[plug] Extreme text editing
J Michael Gilks
mike at gilks1.com
Wed Oct 8 17:23:25 WST 2003
On Wed, 8 Oct 2003 05:06 pm, James Devenish wrote:
>
> I'm not quite sure how vim or perl or split have any more or less
> intrinsic safety than dd in this situation, but anyway...with dd you
> would be free to copy a (say) 100Mb portion out of the middle of the
> file *twice* (one for backup and one for editing). Then, edit the
> excerpt and use dd to merge the edited excerpt back into the original.
> If it's not right, use dd to merge the unedited excerpt back into the
> original. Obviously this is complicated if the file is in use, but I
> don't know how vim gets around that, either.
>
My lack of guts to start carvingsomething out of the middle of a file, edit it
then reinsert it.
Never done anything like that before, that I know of, so a big fear of the
unknown
Is on my list to try out now that the job is finished.
Love
Mike.
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
More information about the plug
mailing list