Awk is a unique case of command-line tools in Unix/Linux. Actually, it has been around since the very early distributions and it is probably the most widely-used general-purpose utility for text parsing. It integrates a complete C-like language that is capable of constructing complete processing pipelines for both structured (e.g. csv) and unstructured text.
In this example the use case is simple: In a log file (.csv) of scheduled flights throughout a specific month and year (April 2016), locate a specific pair of departure-destination airports (LEPA = Palma de Mallorca, Spain / LPPT = Lisbon, Portugal) and count the logged flights per direction. Awk is the perfect tool for such row-wise text processing in the command-line.
Enable captions for more details and walk-through. Source code available at the Github repository (see channel info).
Logo credits: https://blog.thomasheartman.com/posts...
#ambient #coding #programming #notalking #terminal #console #linux #unix #awk
Auf dieser Seite können Sie das Online-Video Data filtering in Awk mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Apnea Coding 06 Juni 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 16 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!