Adding Text in Shellscripting which is having XML code [message #402469] |
Mon, 11 May 2009 00:10 |
user71408
Messages: 585 Registered: November 2007 Location: NE
|
Senior Member |
|
|
Hi All,
I have written shellscritp with extension ".sql". This file contains XML code.I want to add 1000 character text in this file.But I want to write an Update stateent script for adding the text.XML code contains 3 languages.
If Language='ENGLISH' I want to add English related Text.
IF language='DUTCH' I want to add English related Text.
for this updating I want to write the shell script.
can any please help me to write the shell script for this.
Thank you,
|
|
|
|
Re: Adding Text in Shellscripting which is having XML code [message #402480 is a reply to message #402472] |
Mon, 11 May 2009 00:57 |
user71408
Messages: 585 Registered: November 2007 Location: NE
|
Senior Member |
|
|
Michel,
I am requesting to write the Update statement like
in shell script ,If language ='Eng' then it will call the ".sql" file and it should update the text in .sql file the text which we mention in "Update_Script.sh"
(eg: if language='ENG' then the text is like 'Toppers are not born they are made"
If language='Ducth' then 'Als gevolg van de verhuis van uw ')
In .sql file , if language='English' It will updated with the text which was defined in the "Update_Script"(text what we have written in Update_Script"
If language='Ducth' then It will updated with the text which was defined in the "Update_Script"(text what we have written in Update_Script"
Please let me know if u need more information.
Thank you
|
|
|
|
|
|
|