To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7785
7784  |  7786
Subject: 
Re: Post-processing huge [POV] text files in Delphi
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 7 Sep 2002 16:33:09 GMT
Viewed: 
360 times
  
In lugnet.cad.dev, Jacob Sparre Andersen writes:
Have you considered using `diff` and `patch` to handle this?

  l3p ... model.pov
  cp model.pov model-modified.pov
  $EDITOR model-modified.pov
  diff -u model.pov model-modified.pov model.patch
  ...
  l3p ... model.pov
  cp model.pov model-modified.pov
  patch model-modified.pov < model.patch

(if I recall the exact syntax for using `patch` correctly)

Play well,

Jacob
--
Getting started with LEGO CAD on Linux:
                 http://www.ldraw.org/download/start/linux/

Never heard of 'Diff' or 'Patch' before. They aren't DOS commands, are they?
WinScript? POV???


/Tore
(For very simple stuff like unconditionally adding a line in the beginning
or end of a file, I use the 'Copy' command in DOS.)



Message has 1 Reply:
  Re: Post-processing huge [POV] text files in Delphi
 
(...) They are (at least in practice) standard Unix commands. You can probably find binaries for your favourite operating system somewhere on the net. Play well, Jacob (22 years ago, 7-Sep-02, to lugnet.cad.dev)

Message is in Reply To:
  Re: Post-processing huge [POV] text files in Delphi
 
(...) Have you considered using `diff` and `patch` to handle this? l3p ... model.pov cp model.pov model-modified.pov $EDITOR model-modified.pov diff -u model.pov model-modified.pov model.patch ... l3p ... model.pov cp model.pov model-modified.pov (...) (22 years ago, 7-Sep-02, to lugnet.cad.dev)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR