Search Results

Search: Posts Made By: balesh
1,334
Posted By balesh
thanks for the reply itkamaraj...
now the script is working fine....

I need one more help, I need to store the value the 'awk' cmd is returning... I tried many things but in vain... may you help me with that?

thanks
Balesh
1,334
Posted By balesh
awk problem
Hi Frnds

Im having a text file with values as follows :

145.0
221.0
332.0

the text file may have up to 20000 values.

I need to add the add these values. Im using the following code:
...
1,763
Posted By balesh
Problem with moving a file to another dir.
Hi frnds

The following is the code

#!/bin/ksh

##############################################################
# #
# Created by...
6,219
Posted By balesh
Tnx for the idea.... I wonder how xmllint...
Tnx for the idea....

I wonder how xmllint utility works, do i need to install it or jus use its commands to validate the xml... Since im using client system, i cant install anything in it :wall:...
6,219
Posted By balesh
Validating XML against XSD
Hi Frnds

I want to validate an xml file against its xsd using KSH. But dont have any idea on how to proceed:confused:.. Please help me with your ideas..

Thanks in advance....
1,688
Posted By balesh
I tried, but no use, again the same error... :(
I tried, but no use, again the same error... :(
1,688
Posted By balesh
Problem comparing String using IF stmt
Hi frnds

Im facing an issues while trying to compare string using IF stmt, my code is:


chkMsgName=`Service Fee Detail`
if [ $ctrlSrvcFeeMsgNm == $chkMsgName ]
then
if [...
955
Posted By balesh
Thank you so much... Problem resolved!!
Thank you so much... Problem resolved!!
955
Posted By balesh
Problem in summing an array
Hi Frnds

I need to sum up the values of a single array and store it in another variable, here is what im trying


sumArray=0
for i in ${srvcFeeAmt[@]}
do
echo " s of i...
4,901
Posted By balesh
Parsing XML elements and store them in array
Hi Friends

Im so confused with using 'for' loop in ksh. I have a xml like the following:


<serviceProvider>
<serviceProviderID>1</serviceProviderID>...
2,031
Posted By balesh
Im using windows xp and connected to unix env in...
Im using windows xp and connected to unix env in client side server...

---------- Post updated at 06:04 AM ---------- Previous update was at 04:50 AM ----------

Thank you so much friends... I...
2,031
Posted By balesh
Thanks for the replies friends..
But still im getting the same error message.. Even the IF stmt is not getting executed.... :( duuno where the problem is!!
2,031
Posted By balesh
Still not working...
I gave space even then im getting errors....


/obs/tst/app/scripts> ksh parsingIf.ksh
/obs/tst/app/config/com/uhg/obs/inbound/configs/ServiceFeeDetail.xml
' unexpectedh: line 4: syntax error at...
2,031
Posted By balesh
Problem in executing For loop....
Hi frnds

I trying to execute the following ksh,

#!/bin/ksh
file=$OBS_APP_PATH/config/com/uhg/obs/inbound/configs/ServiceFeeDetail.xml...
1,243
Posted By balesh
Thank you so much for the reply... But still...
Thank you so much for the reply...

But still im getting error as follows:

/obs/tst/app/config/com/uhg/obs/inbound/configs/XMLFile_ServiceFeeDetail.xml
0
: No such file or...
1,243
Posted By balesh
Problem with grep
I have the following ksh
#!/bin/ksh
file=$OBS_APP_PATH/config/com/uhg/obs/inbound/configs/XMLFile_ServiceFeeDetail.xml
echo $file
cntWrd=0
echo $cntWrd
cntWrd= grep -c '<serviceFee>' $file...
1,206
Posted By balesh
Please provide me with a KSH script.
Hi frnds

Im new to unix. I have an xml like the following:

<?xml version="1.0"?>
<serviceFeeDetail>
<Data>
<totalAmount>40</totalAmount>
</Data>
<serviceFee> ...
Showing results 1 to 17 of 17

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