10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need one help to replace particular words in file based on if finds another words in that file .
my self is peter@king.
i am staying at north sydney.
we all are peter@king.
How to replace peter to sham if it finds @king in any line of that file.
Please help me... (8 Replies)
Discussion started by: Rajib Podder
2. Shell Programming and Scripting
I have the file like this.
<p> <table border='1' width='90%' align='center' summary='Script output'> <tr><td>text </td> </tr> </table> </p>
I want to replace some tags and want the output like below. I tried with awk & sed commands. But no luck. Could someone help me on this?
... (4 Replies)
Discussion started by: thomasraj87
3. Shell Programming and Scripting
I have a text where we used Ram in 10 times now I want replace all Ram words by Shyam word then how to do it. (6 Replies)
Discussion started by: aaditya321
4. UNIX for Dummies Questions & Answers
I would like to change my setting in a file to the setting that user input.
For example, by default it is
When user key in "YES", it would be
This code only adds in the entire user input, but didn't replace it.
How do i go about... (5 Replies)
Discussion started by: malfolozy
5. Shell Programming and Scripting
I have 2 files:
Abutilon-mosaic-virus ((((Abutilon-mosaic-virus((Begomovirus((Unassigned((Geminiviridae((Unassigned))))... (2 Replies)
Discussion started by: thienxho
6. Shell Programming and Scripting
I want to replace a certain pattern with the variable already defined.
set path_verilog = /home/priya/bin/verilogfile
my file contents are :
verilog is defined here verilog_path_comes
I am using the below command
sed 's/verilog_path_comes/'$path_verilog'/g' <filename>... (2 Replies)
Discussion started by: nehashine
7. Shell Programming and Scripting
I have a file with below content (content is variable whenever new product is launched). I need form a grep command like this
egrep "Unknown product|Invalid symboland so on"
How to do it using a script?
No ILX exch found
exceeds maximum size
AFX... (4 Replies)
Discussion started by: johnl
8. UNIX for Dummies Questions & Answers
lets see if i can explain this in a good way.
im trying to replace some words in a file but i need to know what the words are that is beeing replaced. not sure if sed can do this.
need to know what the first . is... (2 Replies)
Discussion started by: cas
9. Shell Programming and Scripting
Can someone kindy help me solve this problem..I am using SunOS shell script
I got a file A with following content:
This is my correct document. I wrote 111
This is my incorrect word , 222
This is my wrong statement 333
This is my correct document 444
This is my correct document 555... (9 Replies)
Discussion started by: kinmak
I want to check for the repation of a user address in a file i used || as my delimiter and want to check repetaip0n of the address that is mailid and then i have to use IMAP and all.
How can i do this...
I am in linux ...and my file is linux file.
... (5 Replies)
Discussion started by: arunkumar_mca