Search Results

Search: Posts Made By: karthik
27,910
Posted By karthik
Hi Don, total 34 posts i have asked...
Hi Don,

total 34 posts i have asked different doubts related in building one bash script. I am a beginner and i knew the fact i have confused in couple of posts hopefully will not
repeat the...
27,910
Posted By karthik
Hi Don, The reason I am renaming split file...
Hi Don,

The reason I am renaming split file is to convert that to proper xml name thats the reason I am renaming after that it invokes a wsdl
My Expected Output should look like below or any...
27,910
Posted By karthik
Hi Don, I have corrected the grep command as...
Hi Don,

I have corrected the grep command as suggested now the issue is after split it will create multiple files with ending like below but see the mv command its moving all the files to 1 single...
27,910
Posted By karthik
Hi Don, See the below it is able to find the...
Hi Don,

See the below it is able to find the input files and i have pasted my output in debug mode it is able to rename only 1 file Extrfile112.xml where as it ignored or not able to
read...
27,910
Posted By karthik
Hi Don, My Apologies for confusing you again...
Hi Don,

My Apologies for confusing you again AWK commands are perfectly working fine and it splits file correctly as expected

Hope I am not confusing you further

1) If my input file name is ...
27,910
Posted By karthik
Hi Don Cragun/Rudic , I have built the...
Hi Don Cragun/Rudic ,

I have built the script based on all the inputs one last thing is renaming files it is still creating just one standard file name kindly assist

Below command is not...
27,910
Posted By karthik
Yes Don Cragun it worked thanks for your help .
Yes Don Cragun it worked thanks for your help .
27,910
Posted By karthik
I am using Linux OS and the file is .xml , And I...
I am using Linux OS and the file is .xml , And I need all the values of job_id as you mentioned not just 3.

--- Post updated at 04:42 AM ---

Thanks a lot it worked and my apologies for all...
27,910
Posted By karthik
Hi Don Cragun, Please forget about the above...
Hi Don Cragun,

Please forget about the above awk commands it would be confusing below is the sample xml file
i want string value JOB_ID to be extracted and assigned to a variable NEW_VAR
...
27,910
Posted By karthik
Hi Corona, I have tried the below where as i...
Hi Corona,

I have tried the below where as i can find job_id value when trying to replace the job_id values with comma seperator that new_var is blank kindly assist

JobId =$(cat Response.xml |...
27,910
Posted By karthik
Thanks Rudic it worked. --- Post updated at...
Thanks Rudic it worked.

--- Post updated at 11:06 PM ---

Hi Rudic,

Need one more help I have a xml file with the below job_id repetition, for every response i get from service it will...
27,910
Posted By karthik
Hello All. $x =sampletest_110.xml ...
Hello All.

$x =sampletest_110.xml
sampletest_111.xmlCommand :awk -f xml_String_split.awk -f xml_split.awk OUT=$x"" ROWS="500" $x $xFor the above its generating file names as below ...
27,910
Posted By karthik
Thanks a lot Chubler it worked .
Thanks a lot Chubler it worked .
27,910
Posted By karthik
Hello Corona, Happy New Year !! Need...
Hello Corona,

Happy New Year !!

Need one small input for the same thread requirement for the below script what I am trying to do is looping thru input files
and passing it to split command...
27,910
Posted By karthik
Thanks a lot for your help. It worked with the...
Thanks a lot for your help. It worked with the latest code that was my expected output.:)
27,910
Posted By karthik
Thanks Rudic for the input after Your suggestion...
Thanks Rudic for the input after Your suggestion Corona updated the code and it worked and i need small change to it my footer is different i will update it with the xml input and output how it...
27,910
Posted By karthik
Hi Corona, Below are the steps I am doing...
Hi Corona,

Below are the steps I am doing sampletest11.xml is my sample file and the xml node slightly differs and the body node is "Recipient"
party_ID is my footer so changed it accordingly in...
27,910
Posted By karthik
Hi Corona, Thanks for your quick response...
Hi Corona,

Thanks for your quick response with code
Do i need to install any xml_splitter libraries in the unix and you have provided 2 big scripts which 1 do i need to consider

Iam new to...
27,910
Posted By karthik
Split large xml into mutiple files and with header and footer in file
Split large xml into mutiple files and with header and footer in file

tried below
it splits unevenly and also i need help in adding header and footer
command :
csplit -s -k -f...
Showing results 1 to 19 of 19

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