I have a file with thousands of lines. I need to search for a specific value in a specific field and delete the lines that match.
example.
abcdXX1234567
abcdXY1234567
abcdXX1234567
abcdXX1234567
If there is an XY in position 5 and 6 then remove that line.
Any suggestions would... (4 Replies)
Hai
Please let me know the command in unix(command mode ) from a file that deletes the whole column (not 1st and last column )& replace with numbers starting from 1.
Regards
suneetha. (8 Replies)
Hi All,
I am having following file and I want to delete 1 row last column.
Current File Content:
================
procedure test421 put_line
procedure test321 test421
procedure test521 test321
procedure test621 test521
Expected File Content:
===========================
procedure... (3 Replies)
I have any XML ouput file(file name TABLE.xml), where the data is loaded in A SINGLE LINE, I need need help in writting a ksh shell script which gives me the output which should not have column S_NO
This is my input file which has S_NO column.
<?xml version="1.0"... (4 Replies)
Hi experts,
I have a file, where inside this file contains multiple columns (up to 2000 columns):
0.05 0.54 2.02 0.21 1.39 2.92 0.31 1.75 3.34
I want to delete column 3,6,9,12,15,18,21... etc (any columns where can be divided from value 3),
so that results is like:
0.05 0.54 0.21 1.39... (6 Replies)
var1 var2 var3 var4 var5 var6....
A G A T G T
G A A A A A
A A A A A A
G A G T A T
let's call this "file1.txt"
we can see that var2 and var5 have the idential values.
I would like to make a script so that if any variables (could be more than 2) have the identical values, i want to... (4 Replies)
Hi,
My input file is this way
1.1 0.0 2.4 3.5
7.9 1.8 22.3 4.7 8.9
0.9 1.3 0.0 3.4 5.6
0.0 1.1 2.2 0.0 0.0
1.1 0.0 0.0 3.4 5.6
I would like to delete the entire row, if either of 2nd and 3rd columns are 0.0.
Please note that my values are all decimal values.
So, my output would... (4 Replies)
I need to delete the last 11 characters from each number and they are all in the same line (each is in a different column):
-6.89080901827020800000 3.49348891708562325136 1.47988367839905286876 -2.29707635413510400000 -3.49342364708562325136 -4.43758473239905286876 -2.29707635413510400000... (14 Replies)
I want to delete a part of the 4th column from the given file below:
<Text Text_ID="10155645315851111_10155645333076543" From="460350337461111" Created="2011-03-16T17:05:37+0000" use_count="123">This is the first text</Text>
<Text Text_ID="10155645315851111_10155645317023456"... (2 Replies)