Search Results

Search: Posts Made By: bk_12345
2,814
Posted By bk_12345
awk command and variable assigment
I have a MyFile.xml whose contents are as below

<root>
<Main>
<someothertag>..</someothertag>
<Amt Ccy="EUR">13</Amt>
</Main>
.
....
2,814
Posted By bk_12345
Assigning output from awk to variable
I have a script whose contents are as below

result= awk 's=100 END {print s }'
echo "The result is" $result

The desired output is

The result is 100

My script is...
1,212
Posted By bk_12345
Hi everyone I am getting output as below...
Hi everyone


I am getting output as below after changing as per your suggestions.

EUR

I am not getting the desired output as
EUR27
1,212
Posted By bk_12345
sed command to take variable
I have file File1.txt in which i have to replace a text using sed command

File1.txt contents

EURAMOUNTTOBEREPLACED
I have a AIX shell script for replacing the text AMOUNTTOBEREPLACED
...
5,471
Posted By bk_12345
Edited the post
Edited the post
5,471
Posted By bk_12345
awk and or sed command to sum the value in repeating tags in a XML
I have a XML in which <Amt Ccy="EUR">3.1</Amt> tag repeats. This is under another tag <Main>. I need to sum all the values of <Amt Ccy=""> (Ccy may vary) coming under <Main> using awk and or sed...
20,573
Posted By bk_12345
dear pal, My requirement is only to use...
dear pal, My requirement is only to use "connect direct".

---------- Post updated at 06:21 AM ---------- Previous update was at 06:20 AM ----------

Someone please come to rescue!!!
20,573
Posted By bk_12345
Connect direct script for unix
I want to connect direct a xml file and a excel file each separately from unix system to another unix system.The size of the xml file and excel file may vary each time.

Below is the possible...
1,849
Posted By bk_12345
thank you moderator
thank you moderator
1,849
Posted By bk_12345
script to extract PID
Can anyone explain the below script which is used to extract the PID?
Why they are taking from 10 character and getting the sub string?

Note:variable pid has been assigned the PID value initially...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 02:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy