pmitev / to-awk-or-not Goto Github PK
View Code? Open in Web Editor NEWThis repositiory serves as an auxiliary material to an awk course/seminar page.
Home Page: https://pmitev.github.io/to-awk-or-not/
License: GNU General Public License v3.0
This repositiory serves as an auxiliary material to an awk course/seminar page.
Home Page: https://pmitev.github.io/to-awk-or-not/
License: GNU General Public License v3.0
gold 0.1 1986 PRC Panda
rather than the page's
gold 0.1 1986 PRC Panda - silver lined
A fun little bug to start
I would like to submit a solution for the challenge on the bottom of this page:
If you think that this could be done significaanly easier in python than the python solution above, here is a link to a smaller file on which you can try your code. I will be glad to share the solution on this page.
data = {"Frequencies":[], "Frc consts":[], "IR Inten":[]}
with open("H2O.log") as f:
for line in f.readlines():
for label in data:
if label in line:
data[label].extend(line.split()[-3:])
for line in zip(*data.values()):
print(" ".join(line))
I hope it is a useful comparison to the awk
script. Please let me know if you'd like any explanation on how it works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.