Category "awk"

How to extract last part of string in bash?

I have this variable: A="Some variable has value abc.123" I need to extract this value i.e abc.123. Is this possible in bash?

Comparing two columns in two files using awk

I'm trying to compare two different files, let's say "file1" and "file2", in this way. If fields $2 and $3 are the same in both files, print $0 of file2. Here's

How to split a delimited string into an array in awk?

How to split the string when it contains pipe symbols | in it. I want to split them to be in array. I tried echo "12:23:11" | awk '{split($0,a,":"); print a[3