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
In questa pagina del sito puoi guardare il video online Data filtering in Awk della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Apnea Coding 06 giugno 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 16 volte e gli è piaciuto 0 spettatori. Buona visione!