python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
awk/bash append headers in many csv files
I would like to transform the header of many csv files automatically using awk and bash scripts.
Currently, I am using the following code-block, which is working fine:
for FILE in *.csv;
do
awk 'FNR...
doraemon
Votes: 0
Answers: 4
AWK to replace HTML tag with another and keep text
I am looking for a way to replace a HTML tag with another, but keep the text.
I have a big HTML file, which contains:
<span class="desc e-font-family-cond">fork</span>
I want to...

Bohumír Mäsiar
Votes: 0
Answers: 4
grep a single awk column
Here is my sample data:
XYZ Domain|agent756|allegr8732|2022-01-12 15:36:24.0|0|{"username":"sample_usernme","login":"jack777","groups":[],"emailA...
orion363
Votes: 0
Answers: 1
Get floating point division in shell script
In shell script I have variable a=20 and b=100, I want to perform divison a/b in shell. I don't want to use external command like bc or other. awk may work. But it throws error like
awk: cmd. line:1: ...

Akshay Abhang
Votes: 0
Answers: 1