POV-Ray : Newsgroups : povray.newusers : selecting several thousand lines in pov file : Re: selecting several thousand lines in pov file Server Time
4 Nov 2024 13:03:44 EST (-0500)
  Re: selecting several thousand lines in pov file  
From: Christoph Hormann
Date: 16 Sep 2003 09:52:12
Message: <a4hj31-pvj.ln1@triton.schunter.etc.tu-bs.de>
Steve Shelby wrote:
> Hi,
> Is there an easier way to do this? I have about 9,000 lines, one of several
> mesh2 objects, in a pov file, that I want to select in order to copy and
> paste to another pov file, which also contains several mesh2 objects. The
> only would I know to do this is to start selecting and scroll, and scroll,
> and scroll.......and scroll until an eternity later I finally have the whole
> thing selected. It seems like one ought to be able to tell Povray to "select
> from line 8605 to line 17361" and it would be done, but I can't find any way
> to do that, nor can I find anything in the documentation about it. Am I
> stuck doing it the hard way?
> Steve Shelby
> 
> 

cat mesh2.pov | head -n 17361 | tail -n `expr 17361 - 8605`

;-)

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 17 Jun. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.