- This topic has 0 replies, 1 voice, and was last updated 13 years, 4 months ago by .
My XML journey continues and I have reached the another step. The file that I will ftp messages from may contain one or multiple XML messages and unlike HL7 it is not clear cut as to the begining and ending of a message. So, I am trying to add code that will place a hex v (vertical tab) at the begining and o034r (octal value file separatorcarriage return). So, this is how I’m trying to do this:
ls > templist
while read line
echo “IN:$line => OUT:$outf”
echo v > $outf
cat $line >> $outf
echo o034r >> $outf
mv $line $savedir/$line-$HL7date
done < templist The values simply will not populate in the messages or if they do, they appear as literals. Should I try something different? Any help is greatly appreciated. Thanks in advance, Scott CL 5.6.1 AIX
- The forum ‘Cloverleaf’ is closed to new topics and replies.