|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |