Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

Decode a file

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Decode a file

i have this file :
<?xml version="1.0" encoding="UTF-8"?>
<OnDemand xmlns=""
 xsi:schemaLocation=" 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>

I've to need insert in a file with echo command but i don't know to do .
how can i do?
# 2  
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.
# 3  
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?
This User Gave Thanks to Don Cragun For This Post:
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Decode windows .dat file
Alf Stockton
I have received a file from a Windows server that in Linux hexedit shows the following first few characters. AA 18 3C 2B 60 56 03 00 00 01 01 00 The Windows program may have received this via RS232. I need to "understand" this on a Linux machine. Please suggest where I may start decoding...... Windows & DOS: Issues & Discussions
Windows & DOS: Issues & Discussions
How to decode nfs file handle in HP-UX?
Hi Experts, Any idea how to decode file handle in HP-UX? I am getting the following error continously in my HP-UX 11.31 box :mad: Apr 26 07:15:00 host62 su: + tty?? root-bb Apr 26 07:15:00 host62 su: + tty?? root-abcadm Apr 26 07:15:01 host62 vmunix: NFS write error on host peq9vs:...... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users
DECODE file field is required in Bash
Dear All, I want to decode the one of the file field. Input file: 9393939393|999|2009-02-20 00:00:01|2||4587|2007-02-28 00:00:01|0 9393939393|2001|2009-02-20 00:00:01|2||4587|2007-02-28 00:00:01|0 9393939393|1500|2009-02-20 00:00:01|2||4587| 2007-02-28 00:00:01|0...... Shell Programming and Scripting
Shell Programming and Scripting
auto decode a value to different value
Okay, This is not something I've tried to do before, but what I want (need) to do is when a value is read in it gets changed to the value needed. I've been given a list of ids that I need to check against the ids I have in my system, but as is the case we don't have the same naming convention...... Shell Programming and Scripting
Shell Programming and Scripting
Decode email
In pine email, when you receive an email with an attachment, the content of the attachment is incoded (content-transfer-encoding: base64). I am trying to write a shell script that will read the mail file, and it will save the attachment of an email to a directory. I want to do this by reading...... Shell Programming and Scripting
Shell Programming and Scripting

Featured Tech Videos