9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am looking for bash or awk script to solve the following.
Input File 1:
>Min_0-t10270-RA|>Min_0-t10270-RA protein AED:0.41 eAED:0.46 QI:0|0|0|0.25|1|1|4|0|190
>Min_0-t10271-RA|>Min_0-t10271-RA protein... (5 Replies)
Discussion started by: Fahmida
2. Shell Programming and Scripting
I posted a topic requesting help with a script to replace certain things in an XML file
The replies helped a lot but I found that on big files it didn't work properly.
The file I'm amending is... (5 Replies)
Discussion started by: Ste_Moore01
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Give the vi command for replacing all occurances of the string "DOS" with the string "UNIX" in the whole... (4 Replies)
Discussion started by: kbreitsprecher
4. Shell Programming and Scripting
i have a script that will find a certian pattern and replace it with blank space
for i in `cat test.txt | grep "UTILINET" | cut -c 172-191`
perl -pi -e 's/$i//g' test.txt
the command gives some of the below strings
50032E1B ... (5 Replies)
Discussion started by: ali560045
5. Shell Programming and Scripting
i am writing a script in which i take an input from user and find it in a file and replace it.
My input file looks like
what your name?
my code looks is
echo "Enter the name"
... (3 Replies)
Discussion started by: allrise123
6. Shell Programming and Scripting
I have a data of the form
0.0117843924 0. 0. 0. 0.
0.011036017 0. 0. 0. 0.
0.0103351669 0. 0. 0. 0.
4839.41211 0. 0. 0. 0.
4532.08203 0. 0. 0. 0.
I would like to insert a couple of blank lines before the 4839 line, every time it appears. The numbers in the... (2 Replies)
Discussion started by: mathis
7. Shell Programming and Scripting
In a file FILE, the following lines appear :
WORD 8 8 8
Directly in the prompt, if I type
$sed '/WORD/s/8/10/g' FILE
it replace the 8's by 10's in file :
WORD 10 10 10
... (9 Replies)
Discussion started by: tipi
8. UNIX for Dummies Questions & Answers
I have a entry in the file as
if u see this, i have the delimiter as :: ,
all i want is to replace "::" as ":"
so how to do that..
thanks (10 Replies)
Discussion started by: vasikaran
9. UNIX for Dummies Questions & Answers
I want to carry out search & replace for the paths mentioned in the file with the help of vi.
'abc/' to be replaced by 'abc/data'
When I use command in vi as below -
it gives me an error.
How we should deal with '/' part in string for vi search & replace?
... (6 Replies)
Discussion started by: videsh77