gawk
Sort associative array with AWK
Here\'s my array (gawk script) : myArray[\"peter\"] = 32 myArray[\"bob\"] = 5 myArray[\"john\"] = 463 myArray[\"jack\"] = 11[详细]
2023-02-17 16:59 分类:问答gawk simple programs differences
Given the following input: SQSEQUENCE365 AA;40909 MW;78539C59DB8B1DFC CRC64; MAVMAPRTLV LLLSGALALT QTWAGSHSMR YFYTSVSRPG RGEPRFIAVG YVDDTQFVRF[详细]
2023-02-13 18:52 分类:问答awk and extracting specific field more than once
I\'ve got many files with variables in them like {$var1} some text {$var2} some other text I\'d like to give them to awk so that awk extracts them and gives a result like this:[详细]
2023-02-02 03:05 分类:问答matching a specific substring with regular expressions using awk
I\'m dealing with a specific filenames, and need to extract information from them. The structure of the filename is similar to: \"20100613_M4_28007834.005_F_RANDOMSTR.raw.gz\"[详细]
2023-01-31 05:31 分类:问答Need a Script to Format PIX/ASA log into CSV
I\'m working a project to开发者_开发知识库 parse various on a server into csv. Does anyone have a good perl script or gawk statement that can parse a standard PIX/ASA log into CSV...[详细]
2023-01-30 18:54 分类:问答Real number on gawk
I am using gawk on a windows computer with cygwin. What i am trying to do is find min and max from three columns, two are lat and lon and the third column is the value.[详细]
2023-01-23 00:15 分类:问答AWK program to find the average rainfall of three states
I want to find the average rainfall of any three states say CA, TX and AX for a particular month from Jan to Dec . Given input file delimited by TAB SPACES and has the format[详细]
2023-01-20 02:10 分类:问答awk return parent HTML tag value if its child tag content is matched - possible?
I\'ve been searching for solution to this problem for quite some time, but I can\'t figure it out on my own.[详细]
2023-01-17 22:08 分类:问答TCP Networking in Gawk Works for Some Addresses but not Others
I\'ve been fiddling with TCP/IP networking in Gawk and am having a hard time figuring out why开发者_如何学Python it behaves well with some sites but not for others.I\'ve even tried using HTTP Live Hea[详细]
2023-01-14 20:03 分类:问答Substitute Array Elements into Regular Expression Statements / Variable Names
Been wondering if this is doable in AWK for some time but always worked around it in the past. Below I initi开发者_运维问答alize an array with 3 months of the year... for readability I ommited the ot[详细]
2023-01-12 18:27 分类:问答