[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: bash/awk equivalent code to gnu datamash
From:       None via users <users () lists ! fedoraproject ! org>
Date:       2020-05-26 12:37:53
Message-ID: 9T--sg65kHfNwuypZgqyGuOELQVveyRidK0QmnPyWTfTzLQK74DdmLMCSSkWSa5l5OVRDwwbeL9hoUmMR1ry9PRTwRzm95sTje5r-TAtQGA= () protonmail ! com
[Download RAW message or body]




Sent from ProtonMail, encrypted email based in Switzerland.

------- Original Message -------
On Tuesday, May 26, 2020 5:51 AM, Samuel Sieb <samuel@sieb.net> wrote:

> On 5/25/20 5:40 PM, None via users wrote:
> 
> > ------- Original Message -------
> > On Monday, May 25, 2020 7:58 PM, Samuel Sieb samuel@sieb.net wrote:
> > 
> > > On 5/25/20 12:08 PM, None via users wrote:
> > > 
> > > > Thank you. I see what you mean. I have checked and see here
> > > > http://mathforum.org/library/drmath/view/60969.html
> > > > Still I wonder if I can get awk/bash/bc/dc it would be nice.
> > > 
> > > Why do you want to use a complicated solution instead of the simple
> > > tool? I could easily make a bash script to do it, but what's the point?
> > 
> > Portability. Ability to run on live systems, cell phones with termux and datamash \
> > and R are not installed, or there is not enough space to install them :)
> 
> Ok, here you go, using only bash and bc. It calculates it both ways,
> first the mathematical way that R and datamash do and then the splitting
> values method.
> 
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-leave@lists.fedoraproject.org
> Fedora Code of Conduct: \
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: \
> https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: \
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Thank you very much Samuel!
This does the job very nicely :)


Best Regards,

Antonio

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic