Problem I just recently started using AWK and I’m still learning about it. I have solved the problem I’m about […]
Tag: awk
Awk program for extracting unique values from a k1=v1,k2=v2,… list
Problem A single string consisting of comma-separated pairs in the format <key>=<value>, like ABC=https://host:443/topic1,DEF=https://host:443/topic1,GHI=https://host:443/topic3,JKL=https://host:443/topic3 must be converted to a line […]
Split large log file like a dictionary [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Code not implemented or not working as intended: […]
Loading a file in vim via piped output of ag
Problem I feel as if my scenario is fairly simple but that I might be overcomplicating it. I am searching […]
Parse and clean large log files
Problem I have the code below, which works successfully, and is used to parse, clean log files (very large in […]
Filter shell script to find lines that contain all specified patterns
Problem I wrote a script that does the following: Run another script on the system Filter the output to find […]
Try every option for a command and make anagrams out of the successful ones
Problem What I have: I am trying to find what words you can make out of Linux command options like […]
Listing Docker Images without registry URI
Problem I have a private container registry behind a firewall that will need some Google registry images. To make sure […]
Count unique IP address in a date range from Apache log
Problem I use the following command to get specific entries between certain dates from Apache log files. Then I filter […]
Updating my package version using only a Makefile
Problem So I have written a Makefile that has a release function that can be run like: make release bump=patch […]
- 1
- 2