Data processing with the Linux tools
Conclusion
As the examples in this article clearly demonstrate, you do not need a special program to complete some of the mundane tasks that are a part of your everyday computing life. Often a simple text file will suffice to capture data, and the tools typically available in Raspbian, along with some knowledge about how to use them, can serve to process the data as needed. You can choose a scripting language or other method according to individual preference. As with almost any Linux operating system, many roads lead you to the same destination.
Acknowledgments
The author thanks Axel Beckert (Perl), Thomas Partzsch (Awk), and Uwe Berger (Tcl) for their helpful comments and inspiration as this article was being written.
Infos
- Linux Professional Institute: https://www.lpi.org
- Awk: https://en.wikipedia.org/wiki/AWK
- Sed: https://en.wikipedia.org/wiki/Sed
- bc: https://en.wikipedia.org/wiki/Bc_(programming_language)
- "Regular Expressions" by Martin Streicher, Linux Shell Handbook, Special Edition issue 22, 2015, pg. 14, http://www.linuxpromagazine.com/Resources/Special-Editions/22-Linux-Shell-Handbook-6th-Ed
- Perl: https://www.perl.org/
- Python: https://www.python.org/
- Python fileinput: https://docs.python.org/3/library/fileinput.html#module-fileinput
- Python re: https://docs.python.org/3/library/re.html#module-re
- Tcl Developer Xchange: https://www.tcl.tk/
- PostgreSQL: http://www.postgresql.org/
- Aggregate functions in PostgreSQL: http://www.postgresql.org/docs/current/static/functions-aggregate.html
- LibreOffice Calc: https://www.libreoffice.org/discover/calc/
- Gnumeric: http://www.gnumeric.org/
- Pyspread: http://manns.github.io/pyspread/
- sc: https://packages.debian.org/jessie/sc
- Template for calculating driving expenses for Open/LibreOffice Calc: https://sourceforge.net/projects/aoo-templates/files/9288/auto-mileage-log-template.ots
« Previous 1 2 3 4 5 Next »
Buy this article as PDF
Pages: 6
(incl. VAT)