Dear Friends,
I did the same question before in other thread, but I want to explain a little better my request.
I am looking for a way how to find and replace a values in two files using a reference a file where are the key to replace.
Basically, I want to keep a copy of the original file and make a new one in order to compare at the end that the change was done in the correct columns whitout
I have many large Unicode files. I would like to replace each Unicode byte pair with a new Unicode byte pair. For example, the original file contains
"C3 B9 C3 AB C3 B8 C3 B0"
and I would like to replace this with
"D7 A0 D7 A8 D7 9B D7 A9".
Hi,
We have a file (e.g. a .csv file, but could be any other format), with 2 columns: the old value and the new value. We need to modify all the files within the current directory (including subdirectories), so find and replace the contents found in the first column within the file, with the contents of the 2nd column
e.g.
I need a linux bash script to loop a folder for all files and check if there is a string in them, change another string of them.
hi Guys,
I have a rar file which consists of 10 files. each file has a space in its file name.
how can i replace all spaces with _
i can replace them using sed but the thing is i need to replace using a script and not command.
can anyone help me out??:confused::b:
hi Guys,
I have a rar file which consists of 10 files. each file has a space in its file name.
how can i replace all spaces with _
i can replace them using sed but the thing is i need to replace using a script and not command.
can anyone help me out??:confused:
HI
I have 100 files in below folder:-
/home/lkj/TEST
File name like below
Code:
undo_ARL01003_120907-155022.mos
undo_ARL01006_120908-155042.mos
i want replace one first line of each file to pt all
i want change file name as below.
Code:
ARL01003.mos
ARL01006.mos
Thanks
I want to scan through all the files in the folder and replace all instances of $file_X within the file with the variable $X defined in my bash script on my debian 6.0 install.
For example, if the file contains $file_dep I want it to be replaced with the value of the variable $dep defined in my bash script.
Here is an example of my config file:
Code:
IP address = $file_dep
Here is an xampl
Hi,
I am facing issue while reading data from a file in UNIX. my requirement is to compare two files and for the text pattern matching in the 1st file, replace the contents in second file by the contents of first file from start to the end and write the contents to thrid file.
i am able to append the data. but i am seeing junk characters in between.