10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Dear Unix guru,
I have a .XML file which is being used to load data to oracle. This file comes on unix box and one of the tag in xml is oracle key word. I want to find that tag and replace with new tag on the fly
I will get one of the tag in xml is as below
<from>Test Test... (12 Replies)
Discussion started by: guddu_12
2. Shell Programming and Scripting
I have a file called abc.sed with the following commands;
I also have a second file called abc.dat and would like to substitute all occurrences of "1 with one", "2 with two", etc and create a new file called abc_new.dat
sed -f abc.sed abc.dat >... (10 Replies)
Discussion started by: pchang
3. Shell Programming and Scripting
I have a file1 with different with multiple fields and records
File2 has 2 fields.
I want to find and replace strings in file1 based on file2 values (I Want an exact match i.e. for example: when searching for DT:3, Substr of DT:34 should not be matched)
DT:34 bar_frr... (8 Replies)
Discussion started by: aydj
4. Shell Programming and Scripting
I need your help, I have file like this:
67589 27 (2 Replies)
Discussion started by: attila
5. UNIX for Advanced & Expert Users
I have two files
I want to find a line in a.txt and replace by another line from b.txt
i want to replace the 1st line of a.txt by 1st line of b.txt
i want out put as (5 Replies)
Discussion started by: rammm
6. Shell Programming and Scripting
I do not have any knowledge of scripting. I want to replace specific lines of a text file with a specific text. Like I have one file which is "original file" and one file "changes file" which has list of lines which I want to replace in original file with a specific string. I want the... (5 Replies)
Discussion started by: libras
7. Shell Programming and Scripting
I am new to this forum and new to sed/awk programming too !!
I need to find particular string in file1(text file) and replace it with a value from another text file(file2) the file2 has only one line and the value to be replaced with is in the second column.
(assert (=... (21 Replies)
Discussion started by: paramad
8. Shell Programming and Scripting
I have 100+ python files in a single directory. I need to replace a specific path occurrence with a variable name.
Following are the find and the replace strings:
I tried... (5 Replies)
Discussion started by: noorsam
9. Shell Programming and Scripting
/home/$USER/.config replace it with "" (empty)
Is this possible?
I think you should play a bit with sharps ## and sed:b: (2 Replies)
Discussion started by: hakermania
10. UNIX for Dummies Questions & Answers
i am very new to UNIX
plz help me in this scenario
i have two text files as below
Discipline=Electronics and communication.
Designation=CADD Design Engineer.
... (6 Replies)
Discussion started by: kkraja