On 21 Nov., 22:41, john doe <[email protected]> wrote: > Iḿ really interested in both gawk and that ptsed tool you mentioned...didnt > know about it..
What platform are you on? I have used awk/gawk a lot when I was still working as a programmer, so I can probably help if your efforts become more involved. awk is much more powerful than just changing a few words in a bit of text. Everyone who's into scripting would do well to learn at least a bit of it; many tasks that seem daunting otherwise become very easy indeed. Awk is really good at text processing, but that is also it's main scope. As a general purpose language it becomes a bit awkward. If you want a tool that can do everything awk does plus everything else you'd expect from a programming language, go for Python. You won't regret it. In Python you can also use regular expressions to pick out bits of text and then change them to something else; since it's general- purpose, it's more verbose but also much more flexible. ptsed is part of the Panotools-Script package: http://search.cpan.org/dist/Panotools-Script/ This is a collection of perl scripts to deal with pto files. It has a lot of good stuff in there, but the documentation is at times a bit scanty. For me, the problem is that the scripts are in perl (don't worry, you can just use them without knowing what language they're in) - and I can't - at least now - get myself to learn perl. They work just fine, though. > thanks a bunch for the info..and your scripts are nice.. No big deal - I just tried to point you in the right direction, you can hardly call these snippets 'scripts'... As Jan Martin has pointed out above, there is a helpful introduction to panorama scripting in the panotools wiki: http://www.google.com/url?sa=D&q=http://wiki.panotools.org/Panorama_scripting_in_a_nutshell%23Simple_command-line_stitching&usg=AFQjCNFyQ7ku1BjMRkrsj8HgfUdRqei8og with regards Kay -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
