Awk
Awk: How to cut similar part of 2 fields and then get the difference of remaining part?
Let say I have 2 fields displaying epoch time 开发者_Python百科in microseconds: 1318044415123456,1318044415990056[详细]
2023-04-11 19:46 分类:问答Deleting Column Selection in AWK
I\'d like to delete a selection of columns from a list of CSV files. The awk call is in-line as it is used in a shell script. I don\'t know beforehand how many columns the files have, only that the co[详细]
2023-04-11 09:35 分类:问答Check if IP in array with Bash
I am trying to write a bash script which will take the output of who, parse it with awk pulling the IP address and then checking it against an array of IP addresses...sounds simple but they script I h[详细]
2023-04-11 03:05 分类:问答Can we really do without lazy quantifiers?
Many people say we can do without lazy quantifiers in regular expressions, but I\'ve just run into a problem that I can\'t solve without them (I\'m using sed here).[详细]
2023-04-11 01:25 分类:问答where to put brackets in awk
Hello every one I want to ask that I am very very confused about the brackets {}in awklike I have written a code[详细]
2023-04-10 20:47 分类:问答Replacing the last lines of a group of text using AWK
I have this output from doing various commands d41d8cd98f00b204e9800998ecf8427e 1317522632/home/evan/school_work/unix/Projects/Project2/finddups/test/New Text Document.txt[详细]
2023-04-10 15:57 分类:问答Awk: Remove duplicate lines with conditions
I have a tab-delimited text file with 8 columns: Erythropoietin Receptor Integrin Beta 4 11.79.7 164 195 193.2[详细]
2023-04-10 06:04 分类:问答Bash regex finding and replacing
I don\'t know if th开发者_运维百科is is possible, but can you dynamically alter a find/replace?[详细]
2023-04-10 02:43 分类:问答What is the most efficient way to subtract one list from another?
I am trying to subtract List_1 (50k lines) from List_2 (100k lines) , when an item in List_1 is an exact match for an item in List_2. I am using grep, specifically:[详细]
2023-04-09 10:12 分类:问答pre-populate associative array keys in awk?
I\'ve written a munin plugin that uses slurm\'s sacct to monitor job states on a HPC cluster.I\'ve written it in sh + awk (rather than my usual tool of choice, perl).[详细]
2023-04-09 09:16 分类:问答