<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="direction: ltr;"><br>
</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0 0 0">
<div><br>
<b>From: </b>"Chris Green" <<a href="mailto:cl@isbd.net">cl@isbd.net</a>><br>
<b>Date:</b> Friday, 21 January 2022 at 10:41:28<br>
<b>To: </b>"ubuntu-users@lists.ubuntu.com" <<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a>><br>
<b>Subject:</b> Re: Text processing tools and/or languages</div>
</div>
<br>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Thu, Jan 20, 2022 at 11:26:38PM -0500, Little Girl wrote:<br>
> Hey there,<br>
> <br>
> Chris Green wrote:<br>
> <br>
> >Yes, but it's *not* how sed and awk work. :-)<br>
> ><br>
> >Both sed and awk feed the whole of the text past each line <br>
<br>
<br>
> I'm not well-versed in sed, but just playing around because I love<br>
> text manipulation. Someone more experienced could probably do all that<br>
> with one sed command and no pipe.<br>
> <br>
I've just about got to where I want using awk, it's not the ideal tool<br>
but it's usually a bit easier to understand/maintain than sed scripts.<br>
<br>
If it got much more complex I think I'd move to Python but that does<br>
add quite a bit of coding overhead because it simply isn't so handy<br>
for pattern matching and such.<br>
</div>
</span></font></div>
</blockquote>
<div><br>
</div>
<div style="direction: ltr;">Did you know that for complex constructions, you can use Libre Office in script-mode?</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;"><br>
</div>
<blockquote type="cite">
<div><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
-- <br>
Chris Green<br>
<br>
-- <br>
ubuntu-users mailing list<br>
ubuntu-users@lists.ubuntu.com<br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_BLANK">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div>
</span></font></div>
</blockquote>
</div>
<br>
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid
voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
<br>
<br>
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind
resulting from the risks inherent in the electronic transmission of messages.
</body>
</html>