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

Combine Lines With Matching Keys

I have a text file with the following structure ID,operator,a,b,c,d,true WCBP12236,J1,75.7,80.6,65.… Read more Combine Lines With Matching Keys

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

Categorize Csv Files Based On $18 Info And Find The Csv File In Each Category Which Has The Largest Unique Number In $4

If we have three example input files: Test_95_target_1334_assay_Detail3.csv A,accession,result_id,c… Read more Categorize Csv Files Based On $18 Info And Find The Csv File In Each Category Which Has The Largest Unique Number In $4

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?

Removing Duplicated Lines From A Txt File

I am processing large text files (~20MB) containing data delimited by line. Most data entries are d… Read more Removing Duplicated Lines From A Txt File

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