Re: bash/awk equivalent code to gnu datamash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Sent from ProtonMail, encrypted email based in Switzerland.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, May 26, 2020 5:51 AM, Samuel Sieb <samuel@xxxxxxxx> 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@xxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx

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


Best Regards,

Antonio

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux