<div dir="auto"><div>Thank you again Thomas,<div dir="auto"><br></div><div dir="auto">I'll try git-bash and reply to you with the results.</div><div dir="auto"><br></div><div dir="auto">Best regards</div><div dir="auto">Alex</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui, 20 de jan de 2022 05:10, Thomas Baumgart <<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Alexandre,<br>
<br>
On Dienstag, 18. Januar 2022 15:31:24 CET Alexandre Perali via KMyMoney wrote:<br>
<br>
> Dear Thomas,<br>
> <br>
> Really sorry for my delay, I'm very busy at work and traveling now.<br>
> <br>
> I tried the zgrep but it doesn't work as I'm on windows 10. Is there any<br>
> way to use it with embedded win/linux?<br>
<br>
Ah, Windows. I am not a Windows expert at all. You could try some 7z or winzip<br>
to decompress the .kmy file into .xml format. Looking into the file could be<br>
done using notepad++. But that is not as elegant as under unix.<br>
<br>
Another route would be to install git-bash (see <a href="https://gitforwindows.org/" rel="noreferrer noreferrer" target="_blank">https://gitforwindows.org/</a>)<br>
which comes with a bash shell. Don't worry about the git part, it is just<br>
a convenient way to get a unix style shell on windows.<br>
<br>
In that shell, you can execute the unix style commands I mentioned before.<br>
Use Windows explorer to goto the directory with the .kmy file, press the<br>
right mouse button and select "Git Bash here". That starts the shell right<br>
where you need it.<br>
<br>
Hope that helps.<br>
<br>
Regards<br>
<br>
Thomas<br>
<br>
<br>
> ------------------------------<br>
> ><br>
> > Message: 2<br>
> > Date: Sun, 16 Jan 2022 09:18:11 +0100<br>
> > From: Thomas Baumgart <<a href="mailto:thb@net-bembel.de" target="_blank" rel="noreferrer">thb@net-bembel.de</a>><br>
> > To: <a href="mailto:kmymoney@kde.org" target="_blank" rel="noreferrer">kmymoney@kde.org</a><br>
> > Cc: Alexandre Perali <<a href="mailto:alexandre@perali.com.br" target="_blank" rel="noreferrer">alexandre@perali.com.br</a>><br>
> > Subject: Re: Update Stock and Currency Prices<br>
> > Message-ID: <1877621.taCxCBeP46@thb-nb><br>
> > Content-Type: text/plain; charset="utf-8"<br>
> ><br>
> > On Samstag, 15. Januar 2022 14:49:45 CET Alexandre Perali via KMyMoney<br>
> > wrote:<br>
> ><br>
> > > No problem, Thomas,<br>
> > ><br>
> > > I'm using .kmy file.<br>
> ><br>
> > OK. Then what does the following command provide as output:<br>
> ><br>
> > zgrep E000034 xxx.kmy | grep SECURITY<br>
> ><br>
> > I expect one (or none) output line.<br>
> ><br>
> > Next, I want to know what the output of<br>
> ><br>
> > zgrep 'from="E000034" to="MXN' xxx.kmy | wc -l<br>
> ><br>
> > and<br>
> ><br>
> > zgrep 'from="MXN" to="E000034' xxx.kmy | wc -l<br>
> ><br>
> > is. In both cases, I expect a number.<br>
> ><br>
> > Regards<br>
> ><br>
> > Thomas<br>
> ><br>
> > [...]<br>
> ><br>
> > --<br>
> ><br>
> > Regards<br>
> ><br>
> > Thomas Baumgart<br>
> ><br>
> > <a href="https://www.signal.org/" rel="noreferrer noreferrer" target="_blank">https://www.signal.org/</a> Signal, the better WhatsApp<br>
> > -------------------------------------------------------------<br>
> > Technology is a constant battle between manufacturers producing bigger and<br>
> > more idiot-proof systems and nature producing bigger and better idiots.<br>
> > -------------------------------------------------------------<br>
> > -------------- next part --------------<br>
> > A non-text attachment was scrubbed...<br>
> > Name: signature.asc<br>
> > Type: application/pgp-signature<br>
> > Size: 868 bytes<br>
> > Desc: This is a digitally signed message part.<br>
> > URL: <<br>
> > <a href="http://mail.kde.org/pipermail/kmymoney/attachments/20220116/0a8a892c/attachment-0001.sig" rel="noreferrer noreferrer" target="_blank">http://mail.kde.org/pipermail/kmymoney/attachments/20220116/0a8a892c/attachment-0001.sig</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Subject: Digest Footer<br>
> ><br>
> > _______________________________________________<br>
> > KMyMoney mailing list<br>
> > <a href="mailto:KMyMoney@kde.org" target="_blank" rel="noreferrer">KMyMoney@kde.org</a><br>
> > <a href="https://mail.kde.org/mailman/listinfo/kmymoney" rel="noreferrer noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kmymoney</a><br>
> ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > End of KMyMoney Digest, Vol 135, Issue 6<br>
> > ****************************************<br>
> ><br>
> <br>
<br>
-- <br>
<br>
Regards<br>
<br>
Thomas Baumgart<br>
<br>
<a href="https://www.signal.org/" rel="noreferrer noreferrer" target="_blank">https://www.signal.org/</a> Signal, the better WhatsApp<br>
-------------------------------------------------------------<br>
Cheaper is more expensive -- thb<br>
-------------------------------------------------------------<br>
</blockquote></div></div></div>