How to use bash for loop to awk print FPAT string found in quoted variable
I cant figure out the proper FPAT to get each comma separated value. Using bash on Debian 12.5… I have a file PING.cfg with contents:
Recombine data with multiple different delimiters [closed]
Closed 2 days ago.
How to set awk the required number of columns
There is an array of data
https://example.com:description of the site/application:category
http://example.com:description of the site/application:category
android://package name:description of the site/application:category
android://package name|description of the site/application|category
awk – Character Class Regex gsub Changes output
Parsing the following with awk
:
Adding column after comparing two files
I have a file with >19 000 rows with the following structure:
AWK equivalent to `read -r _ _ remainder`?
Here’s a long-standing question of mine for which I can’t find a satisfying solution.
Why my bash script works in the terminal but fails in a script with a function involved and ssh call?
I have
Print some values based on conditions from all json files
I have several json files in a folder and subfolders for which I want to print only 3 fields. I use a for loop over all json files, but here to make it simple, the input below represents 3 json files. For each one, I want to print the “Filename” and “Value” only when inside each file appears at least one “Dmo = Path”. When a files doesn´t contain a “Dmo = Path” block, then only print the filename.