10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to change the number in bold to 2400
I'm not sure if sed or awk is the answer. I was going to use sed and do a character count up to that point, but that column directly before 0640 might... (8 Replies)
Discussion started by: juggernautjoee
2. Shell Programming and Scripting
I need to remove specific column to one range
3 1 000123456
2 2 000123569
3 3 000123564
128 000125648 (6 Replies)
Discussion started by: ranjancom2000
3. Shell Programming and Scripting
I have an xml file dumped from rrd file, that I want to "patch" so the xml file doesn't contain any blank hole in the resulting graph of the rrd file.
Here is the file.
<!-- 2015-10-12 14:00:00 WIB / 1444633200 --> <row><v> 4.0419731265e+07 </v><v> 4.5045912770e+06... (2 Replies)
Discussion started by: rk4k
4. Shell Programming and Scripting
I am trying to search a given text in a file and find its last occurrence index. The task is to append the searched index in the same file but in a separate column. I am able to accomplish the task partially and looking for a solution.
Following is the detailed description:
... (17 Replies)
Discussion started by: tarun.trehan
5. UNIX for Dummies Questions & Answers
I am searching for an awk-script that computes the mean values for the $2 column, but addicted to the values in the $1 column. It also should delete the unnecessary lines after computing...
An example (for some reason I cant use the code tag button):
1 20... (2 Replies)
Discussion started by: bjoern456
6. Shell Programming and Scripting
I would like to ask your expertise to remove specific column no. 8 in the below file using but I don't have an idea on how to simply do this using awk command. Appreciate your help in advance.
ABC 1 1XC
CDA 1 2YC
CCC 1 3XC
AVD 1 3XA
Expected output file:
ABC 1 1C
CDA... (9 Replies)
Discussion started by: zzavilz
7. Shell Programming and Scripting
I have two input files as
Also, array of valid values can be hardcoded like
XYZ:WT:project2 (1 Reply)
Discussion started by: aa2601
8. UNIX for Dummies Questions & Answers
I have this kind of output:
I would like to transpose columns d and e (when they exist) in column c, and under the row where they come from.
Then copying the beginning of the row.
In order to obtain:
a2|b2|c2... (1 Reply)
Discussion started by: lucasvs
9. Shell Programming and Scripting
I have the following text file:
8 T1mapping_flip02 ok 128 108 30 1 665000-000008-000001.dcm
9 T1mapping_flip05 ok 128 108 30 1 665000-000009-000001.dcm
10 T1mapping_flip10 ok 128 108 30 1 665000-000010-000001.dcm
11 T1mapping_flip15 ok 128 108 30... (2 Replies)
Discussion started by: goodbenito
10. Shell Programming and Scripting
I am having trouble converting a text file. I have been working for this whole day now, still i couldn't make it.
Here is how the text file looks:
DEVICE STATUS INFORMATION FOR LOCATION 1:
OPER STATES: Disabled E:Enabled ... (5 Replies)
Discussion started by: Issemael