10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Output... (7 Replies)
Discussion started by: pareshkp
2. Shell Programming and Scripting
hi, i have a fasta file like this:
>contig00003 length=363 numreads=45 gene=isogroup00001 status=it_thresh
GTAGTCGGCGGTGGAATTAGGGGGAGCCGGCGAGCCCAAGTATTTTGCAGAGGTGTCTTCATCATCCAAACAACA... (3 Replies)
Discussion started by: the_simpsons
3. Shell Programming and Scripting
I want to make an script using sed that removes everything between 'begin' (including the line that has it) and 'end1' or 'end2', not removing this line.
Let me paste an 2 examples:
any string begin
few lines of content
any... (4 Replies)
Discussion started by: meuser
4. Shell Programming and Scripting
This is a Nagios situation.
So i have a list of servers in one file called Servers.txt
And in another file called hostgroups.cfg, i want to remove each and every one of the servers in the Servers.txt file.
The problem is, the script I wrote is having a problem removing the exact servers in... (5 Replies)
Discussion started by: SkySmart
5. Shell Programming and Scripting
I have a complex problem. I have a file in which words have been joined together:
I want to be able to correctly split the words using a lookup file in which all the words occur:
The lookup file which is meant for look up... (21 Replies)
Discussion started by: gimley
6. UNIX for Dummies Questions & Answers
I have a file with words that begin with character #. Whenver that character is found that word should be deleted throughout the file. How do I do that in VIM.
afkajfa ladfa ljafa #222222 kjafad ljl
afajkj kjlj uouu #44444 jlkj lkjl
Output should be
afkajfa ladfa ljafa kjafad... (1 Reply)
Discussion started by: osbourneric
7. UNIX for Dummies Questions & Answers
I'm hoping someone could help me out please :)
I have several .txt files with several hundred lines in each that look like this:
10242;</td><td>10242</td><td... (4 Replies)
Discussion started by: martinsmith
8. Shell Programming and Scripting
I need help to delete a few words in every line in my file.
This is how the file look like:
VDC DQ 14900098,,,,157426.06849776753,786693.2919373367
VDC DG ,10273033,,3er55,,149565.57096061576,801778.9379555212
... (2 Replies)
Discussion started by: andy_s
9. UNIX for Advanced & Expert Users
Could you please let me know, how to delete first 10 words from text files using vi?
10dw will delete it from current line, how to do it for all the lines from file?
Thanks (6 Replies)
Discussion started by: sentak
10. UNIX for Dummies Questions & Answers
Could someone please help me with the following.
I'm trying to figure out how to delete two words within a specific file using sed.
The two words are directory and named.
I have tried the following:
sed '//d' sedfile
sed '//d' sedfile
both of these options do not work.....
... (4 Replies)
Discussion started by: klannon