Skip to content Skip to sidebar Skip to footer
Showing posts with the label Awk

Invalid Char In Expression Awk, Python

I have a command that looks like this: ps v -p 2585 | awk '{if ($9 != '%MEM') {print $9… Read more Invalid Char In Expression Awk, Python

Matching Regex Of Multiple Lines In Awk. && Operator?

I am not sure if the && operator works in regular expressions. What I am trying to do is ma… Read more Matching Regex Of Multiple Lines In Awk. && Operator?

How Can I Extract Numeric Ranges From 2 Columns And Print The Range From Both Columns As Tuples?

I'm quite new on bash scripting and on python programing; at the moment have 2 columns which co… Read more How Can I Extract Numeric Ranges From 2 Columns And Print The Range From Both Columns As Tuples?

Compare A .txt And .csv File And Need To Replace With Matching Name In .csv File To .txt

file1.txt [fields:WinSpc:defect] a=b b=c hello=hi [fields:ROCKET PROJECT:ticket] description=Descr… Read more Compare A .txt And .csv File And Need To Replace With Matching Name In .csv File To .txt

Python Remove Phone Numbers From String

I have a text file that looks like this: rgf34 | 9 | 2015-07-20 | hello this is my number 123456789… Read more Python Remove Phone Numbers From String

Storing Value From A Parsed Ping

I'm working on some code that performs a ping operation from python and extracts only the laten… Read more Storing Value From A Parsed Ping