10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am looking for a specific situation in a text file. The conditions are,
I am looking for cases where the line "> <CompoundName>" is followed by a line that contains the string "InChI=" without regard to... (5 Replies)
Discussion started by: LMHmedchem
2. Shell Programming and Scripting
I have a .csv file that has been create from a google form and I need to extract the data from it that has been entered by users.
The CSV will have anywhere between 100 and 1000 lines which comprise entr data for a sports carnival
A few typical line is shown here to show the problem I have
... (19 Replies)
Discussion started by: kcpoole
3. UNIX for Dummies Questions & Answers
How can i display the middle line of a file using a single line command? (6 Replies)
Discussion started by: Lakme Pemmaiah
4. UNIX for Advanced & Expert Users
i have a file with data as below.This is same file. But actual file contains to many rows.
i want to search for a string "Field 039 00" and delete that line and previous 3 lines in that file.. Can some body suggested me how can i do using either sed or awk command ?
Field 004... (7 Replies)
Discussion started by: vadlamudy
5. UNIX for Dummies Questions & Answers
Please help me with my problem here:
I have a source file:
1212 23232 343434 ASAS1 4
3212 23232 343434 ASAS2 4
3234 23232 343434 QWQW1 4
1134 23232 343434 QWQW2 4
3212 23232 343434 QWQW3 4
and a mapping... (4 Replies)
Discussion started by: kokoro
6. Shell Programming and Scripting
Hi.. I'm into a bump after trying to solve this prob.. i've a file with contents like below.
'pgmId' : 'UNIX',
'pgmData' : 'textfile',
'author' : 'admin',
Now i'm trying to insert a new data after pgmId. so the final output will be... (7 Replies)
Discussion started by: arjun_arippa
7. Shell Programming and Scripting
I have a 100 line code. I have given a sample of it below:
I need to select the line starting with "ABC" its... (6 Replies)
Discussion started by: nithins007
8. Shell Programming and Scripting
I was trying to search the following scenario on the forum but was not able to.
Let's say that I have a very large file that has some bad data in it (for ex: 0.0015 in the 12th column) and I would like to find the line number and remove that particular line.
What's the easiest... (3 Replies)
Discussion started by: pchang
9. Shell Programming and Scripting
I have my data something like this
1947430693 07/01/2009 05:16:40
1947430746 07/01/2009 05:18:05
I want the output as follows.... (1 Reply)
Discussion started by: rdhanek
10. Shell Programming and Scripting
How can I compare data line by line from a file?
I need to compare the second value with the fourth to know if they are different.
If those values are different, I require to send my first value to the output until the complete file has been read.
This is my file:
0 FALSE... (1 Reply)
Discussion started by: loperam