I have 2 CSV files with matching and non matching fields.
I want to compare second, third and fourth column and based on that want to have output as matching(M), non-matching(NM) and also not found(NF ...
The task: find and print lines from a file that contain any (IPv4) IP address except those on the local LAN (local LAN uses class C addresses of the 192.168.1.x variety). I (having cribbed bits from ...
I have a file looking like:
Some real content.
Some real content.
To keep things simple, let's consider that ...
the following code extracts data from csv files contained in a folder, creates new folders (based on filename and date), creates and stores multiple csv files in the said folders. more info on this is ...
Using ksh88 on AIX machine, I've tried a whole slew of things that are ultimately not working.
File_A has 2 columns without headers: the user group that created the directory in column 1, and the full ...
I got a comma-separated file
# cat data
I want to search for smartplayer in $1, get its state from $3
and print like this
I have this script, I'm getting first letter of my directory name, and I wan't to get directory names that start with the same letter and write to textfile. The for loop is looping list of directory ...
The following file is tab-separated. I tried to remove from the first column NbLab330C00 64506568 the number after space in order to get NbLab330C00.
$ head LAB330_TE_annotation.gff3
##gff-version 3 ...
I need to go through thousands of files and find lines that start with
On these lines I need to look for a series of keywords, namely fileinto or fileinto_copy followed by create and ...
I have a pipe delimited file like this where the second column is the key that groups the ids in the first column.
I am trying to ...
I would like to sort file in parts delimeted by string, but it is a larger part of processing in the awk.
I have read that it could be possible to store lines between delimeter and then use asort for ...
I have a file like below, I need to print all line that match my pattern.
used the below code but end pattern stops after the first pattern match, I need to print until last end pattern match.
I have passed argument to myscript.sh that returns a value in variable m. Problem is that I am not able to pass shell variable (runvalues) to awk script that search for a pattern. Therefore value of ...
I have a space-separated text file, e.g.
text1a text2a id1 text4a text5a
text1b text2b id2 text4b text5b
text1c text2c id3,id4 text4c text5c
text1d text2d id5,id6,id7 text4d,text4di text5d
The file ...
I have a fileA.txt:
I would like to perform mathematical operations on the numbers ...
I have a tab separated model input file I would like to vary for an ensemble analysis formatted similar to this
/* Preciptation in mm */
10 30 40 50 23
### Species description
*** sp_name ...