Decode a file

hi
i have this file :

<?xml version="1.0" encoding="UTF-8"?>
<OnDemand xmlns="http://xsd.telecomitalia.it/Schema/crmws.entity.OnDemand"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://xsd.telecomitalia.it/Schema/crmws.entity.OnDemand file:/C:/Documents%20and%20Settings/fmartino/Desktop/SMSNoChoice.xsd">
    <DATE_FROM>21/02/2019 00:00:00</DATE_FROM>
    <DATE_TO>18/06/2019 23:59:59</DATE_TO>
    <ENTITY>ANAGRAFICA_OLO</ENTITY>
    <OLO></OLO>
    <LISTENTITYD>
        <ENTITYID></ENTITYID>
    </LISTENTITYD>
    <CONSISTENZE_CRM>N</CONSISTENZE_CRM>
    <REQUESTID></REQUESTID>
    <SERVICE_TYPE></SERVICE_TYPE>
    <CSHD>N</CSHD>
</OnDemand>

I've to need insert in a file with echo command but i don't know to do .
how can i do?
thanks

I don't quite follow what you're after.
Could you try to elaborate one more time, please.
A sample input and output could help as well.

And, especially if you are trying to insert the quoted text in any place other than the start of the target file or the end of the target file, why is using echo a requirement?

Is this a homework assignment?

Are you trying to insert text you showed us in post #1 into some other file, or are you trying to insert some other text into the file you showed us in post #1?

1 Like