Hi,
I posted a topic requesting help with a script to replace certain things in an XML file
http://www.unix.com/shell-programmin...newline-2.html
The replies helped a lot but I found that on big files it didn't work properly.
The file I'm amending is in the following layout
Code:
<FUNCTION>
<PRODUCTS>
<PRODUCT CODE="PROD1" ACTION="ame
Hi everyone, I would really appreciate any help I could get on the following topic.
I am not very familiar with reg expressions nor with sed, I just know the basic uses. What I am trying to do is the following: I have a huge text file where I would like to replace all occurnces of a certain pattern with another one.
I've found this script which seems very promising to solve my issue:
To search and replace many different database passwords in many different (.php, .pl, .cgi, etc.) files across my filesystem.
I have a config file with a bunch of these type of blocks:
Code:
<concat destfile="${standard.js.file}" append="true">
<filelist dir="${js.dir}/foo" files="foo.js, foo2.js"/>
<filelist dir="${js.dir}" files="
Hi All,
Thanks in Advance
I wrote the following code
Code:
if [ $VERSION == 1.1 ]
then
echo "version is 1.1"
for i in "subscriber promplan mapping dedicatedaccount faflistSub faflistAcc accumulator pam_account"
do
FILE="SDP_DUMP_$i.csv"
&nb
I am trying to use the sed command to remove any character that is passed as a parameter to the script. I may want to replace any character in the file (-, =, $, space). I'm running into an issue when passing the $.
Hi,
I have shell script which will read single edi document and break data between ST & SE to separate files.Below example should create 3 separate files.
Hi
I have a file with the following structure
Code:
"VATTENFALL GLOBAL" "Vattenfall Tray"
"BARCLAYS BANK LONDON" "Capula"
Hi Folks,
I know my code works, but I'm still a newbie at arrays and how they function.
Is there is shorter way to write my code?