Took about 3 hours to follow along , stop do experiment , continue stop, document, continue , stop experiment ,continue. Very worthwhile 3 hours! A very solid foundation to expand upon indeed! Thank You!
Just wanted to ask you about comparing two dates in lets day an excel sheet with a date column, lets suppose printing only rows with the dates after 30/04/2020. cat covid19-cable-broadcast-labeled.csv | awk -F',' '{if ($1 = "cnn" && $7 = "covid_direct" && $3 > "30/04/2020") print $1","$2","$3","$6","$7","}' > filtered_paragraphs.csv. I have the above command where I have to write rows/entries with the conditions of the column 7 value = covid_direct, column 1 value = cnn and the dates column (column 3) date should be after 30 April 2020.
@@harshareddy3214 not sure ..its working fine in mine ...could you send some more detail in telegram group so that I can look into your issue and provide some solution.
Hi bro Need to use regex in particular column as tab separator file. In that particular column want to replace only in between character . Trying with this comment awk ‘{gsub(/(?
@@archanakoti723 I guess there is mutiple ways if you search on internet..one of which is learnbyexample.github.io/learn_gnuawk/installation-and-documentation.html
Never Mind I Got It. It's a range! Does anyone know why awk '$4==5000 , $5==500 different from awk $4==5000 && $5==500? what is the difference between , and && I'm processing a file generated by ls -lR > ls.txt so I think maybe the data like /home/bozo/Documents/: total 4410736 recursing down directories to regular entries like -rw-rw-r-- 1 bozo bozo 12675 Apr 8 03:38 SteelyDan.xspf . . . might be messing things up. I will turn on transcript to pay particularly close attention to what Pedagogy is saying.