Awk
Moving back and forth between dierctorys in AWK
In AWK,开发者_运维知识库 how can I move back and forth between directories using “cd” command?[详细]
2023-03-25 02:06 分类:问答bash script regex matching
In my bash script, I have an array of filenames like files=( \"site_hello.xml\" \"site_test.xml\" \"site_live.xml\" )[详细]
2023-03-25 00:46 分类:问答sed/awk: Extract pattern from text stream
2开发者_如何学C011-07-01 ... /home/todd/logs/server_log_1.log ... 2011-07-02 ... /home/todd/logs/server_log_2.log ...[详细]
2023-03-24 23:47 分类:问答How to ADD or Replace Specific field between specific tag which is coming in XML file using unix
I have XML file inside that file format which is given below is present <Open> <ID>7175</ID>[详细]
2023-03-24 23:07 分类:问答Parsing pipe delimited input in awk
Have seen many posts asking similar question.Ca开发者_如何学JAVAn\'t get it working. Input looks like:[详细]
2023-03-24 13:01 分类:问答Replacing .at() with [] throughout my code
I\'m a C++ user and got some code that uses .at() to get bound checking on the STL vectors. Now开发者_运维百科 I\'d like to change them to standard []. Does anyone know of a script that could do this?[详细]
2023-03-24 11:29 分类:问答How to switch/rotate every two lines with sed/awk?
I have been doing this by hand and I just can\'t do it anymore-- I have thousands of lines and I think this is a job for sed or awk.[详细]
2023-03-23 06:22 分类:问答Convert datetime in to epoch using awk piped data
I\'ve a tab delimited log file that has date time in format \'2011-07-2011:34:52\' in the first two columns:[详细]
2023-03-22 15:10 分类:问答Awk selecting data rows
I have to process the following datafile using awk: YEARS:1995:1996:1997:1998:1999:2000 VISITS Domain1:259:2549:23695:24889:1240:21202[详细]
2023-03-22 12:12 分类:问答Sed for partial replacement?
Imagine I have a file that has the following type of line: FIXED_DATA1 VARIABLE_DATA FIXED_DATA2 I want to change the fixed data and leave the variable data as is. For various reasons, using two sed[详细]
2023-03-21 22:56 分类:问答