I have the following block of data and need to extract the percent value in XYZ FREEBYTES, i.e. captured value should be equal to 64. As far as I know, I can grep and cut the data. However, the digits ...

I have file separetd by pipe | and I want that when column 6 contain letter I print 0758000 in column 7 and
when the column 6 contain letter A print 0800000 in column 7, I can not find how to do it!!!
...

I have a text file with 9267 lines. I want to find "A" with 5 spaces after it and replace it with "A" with 5 spaces before and after it on all lines, but only between columns 67 and 88. Text outside ...

I have file with n lines. (Each line refers to a “question”, and
therefore they are labeled Q.1, Q.2, Q.3, ..., Q.n.)
Each line (question) has a “Marks” attribute,
which has the value 2, 3, 4, 5, or ...

Here's a similar question but I ran into a problem that was not addressed in the question.
How to replace the content of specific column with awk?
I want to do something similar, however my file is ...

I am trying to extract the column name with the maximum value in each row using bash script i.e., the column header value or the value from the same column in the first row. I am using the following ...

I have a sample file with values like below, and I want to calculate weighted average on the parts within []
6708.1717,07/15/2015,[6708:2],[6708.1609:3],[6708.5:5]
3352.130000000,07/15/2015,[3352:4]
...

I know the following expression:
echo "bob alice robert alice" | awk '{print index($0,"alice")}'
5
Will output the index of the first alice match, is there any way to get the index of all matches?, ...

I have text files like this:
Mr.P.K.Baneerjee has visited the site today at 4.30pm
The permit tag has been set in the ds busbar
Opearation has been performed in presence of control engineer
Opeation ...