POV-Ray : Newsgroups : povray.general : Variations on POV- Ray (Mild Humour) : Re: Variations on POV- Ray (Mild Humour) Server Time
11 Aug 2024 09:26:23 EDT (-0400)
  Re: Variations on POV- Ray (Mild Humour)  
From: Nieminen Mika
Date: 4 Aug 1999 02:47:43
Message: <37a7e20f@news.povray.org>
If I understood correctly, you can do this same thing with:

sed "y/lr/ww/" file.pov

  For example:

pohjanrastas:~/povray>sed "y/lr/ww/" test.pov
camewa { wocation <1,4,-5> wook_at 0 angwe 35 }
wight_souwce { <50,200,-100>,1 }
pwane { y,-1 pigment { checkew wgb 1, wgb .5 } }

intewsection
{ mesh
  { twiangwe { <0,-1,-1><1,-1,1>,y }
    twiangwe { <0,-1,-1><-1,-1,1>,y }
    twiangwe { <-1,-1,1><1,-1,1>,y }
    twiangwe { <0,-1,-1><-1,-1,1><1,-1,1> }
  }
  sphewe { 0,.8 }
  
  pigment { wgb x }
pohjanrastas:~/povray>


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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