<html><body>On 15 September 2011 10:29, Dominic Humphries &lt;linux@oneandoneis2.org&gt; wrote:<br />&gt; Wow.. that's some serious grep &amp; sed usage!<br />&gt;<br />&gt; I'm impressed that you've managed to get so much functionality out of<br />&gt; sed, in particular.<br /><br />Thanks! It was a case of: I'd got a task I'd set myself, and I looked for a tool to help.<br /><br />&gt; One thing I would say, though, is that if this is the kind of thing<br />&gt; you're doing often, you would probably find Perl both easy to use (if<br />&gt; you can do regexes, you're more than halfway to being good at Perl<br />&gt; anyway) and immensely helpful - Perl was basically created for this kind<br />&gt; of text processing.<br />&gt;<br />&gt; [snip]<br />&gt;<br />&gt; I'll grant you it would be more typing, but it's a *lot* more readable &amp;<br />&gt; re-usable :)<br /><br />I'm all for re-usability. And I like the idea of script files I can keep handy to run with different inputs. Actually, I learned some (very) basic C scripts on a Linux course I did years ago<br /><br />Since starting to learn grep and sed, I've discovered several tasks, especially at work, where I could make use of them. By contrast, the Windows XP dos prompt is clunky and its commands much weaker and so I had already decided I would have to turn to learning batch files in order to use dir and find efficiently.<br /><br /><br /><br />&gt; I've planned giving a talk to SLUG about Perl at some point, let me know<br />&gt; if it'd be of enough interest that I should stop thinking and start<br />&gt; planning :o)<br /><br />That would be quite nice. As the perl talk will be techie, how about tailoring the  perl script to something that members are keenest on. What I've heard in our meetings so far is that photo management, display, search and batch manipulation are popular tasks. Could you develop some scripts along those lines?<br /><br />I remember we experimented with ImageMagick one evening last year with great results, learning a bit about its associated name "Composite" and its command "display" - that was fun.<br /><br /><br />
                Best Regards,<br />Fay<br />East Grinstead Linux User Group<br />www.eglug.org.uk<br /><br /></body></html>