I got more precisions regarding the special characters :
<Cle.controle.TOP.2>bå</Cle.controle.TOP.2> ...
Type: Posts; User: lonbgeach
I got more precisions regarding the special characters :
<Cle.controle.TOP.2>bå</Cle.controle.TOP.2> ...
ok, i got it, i removed the wrong line. hehe
Please help me regarding the error codes.
Thanks
I am not going to call it in C, but it will be part of a chain of batches.
That is why I need to dal with return error codes.
How do you do that in Perl ?
Also, one requirement is to delete all...
coder8137 :
thanks very very much ! I am using your solution and learning perl in the same occasion !
That is great, it works.
I modified it so that it allows tags with dots in the names like
...
The tag do not have attributes, there is no CDATA so it's all good.
The idea is good but the following code does not work with Ksh.
<bla> body </bla>
also we can have an empty tag, like this...
coder8137 : thanks for the effort !
I will try to use that code.
Do you have any suggestion on how to use it to check every line ? I mean, I need to put that code inside a loop.
Thanks for your...
oops, I meant MB of course :)
Well, this is what I have done so far : I have written a ksh file that calls
the command SED 3 times, in fact for each requirement as specified above:
2) sed -e 's/ *$//' old_file >...
thanks Salem for replying.
Unfortunately there are many more bad examples, so your solution would not work.
Does anyone else have an idea ?
hi,
is it possible to parse an XML file in C so that i can fulfill these requirements :
1) replace all "<" and ">" signs inside the body of tag by a space, e.g. :
Example 1:
<foo> blabla < bla...
thanks, that is exactly what i needed :)
can you write the code in details ?
I do not have a compiler at the moment, so I cannot make tests for now.
Thanks
thanks.
Isn't there another way to do that using a combination of the String functions provided by the C ANSI ?
like strstr(), strtok() ...
thanks
Hello,
my problem is quite simple to explain.
I have the following string:
"table+camera"
and I want to remove the + sign:
"tablecamera".
How do i do that ?
hey,
I need some ideas, suggestions for a task I am working at work these days.
We want to do that in C or C++.
I have several tables from a database (Oracle).
I need to extract data from these...
thanks for your help
Hi,
I'm trying, inside a for loop, in Pro*C,
TO STORE the result of a fetch in an array,
but I don't want any repeated result in my result array (tableau_stockage in the example)
the following...
could anyone explain me why this program will generate a core dump ? something to do with lack of memory allocation ? strcpy maybe ?
#include <stdio.h>
#include <string.h>
#include <stdlib.h>...
I wrote this piece of code but I'm not satisfied at all with it. Could anyone provide me with a better and smarter code to do the trick ?
thanks in advance
#include <stdio.h>
#include ...
thanks for the valuable info but the use of gethostbyaddr() to get the IP address is out of question , since it is sort of hard coded :
char * IPv4_address; /* IPv4 address i.e. a1b2:c3d4 */
...
I need to write a C program to convert an IP address, in IPv6 format, (that is in hexadecimal)
to the standard IP address format (that is 255.255.255.255).
Example:
a1b2:c3d4 after conversion :...