05-12-2008
Can you tell what the difference is between the original file and the corrupted one? That would be a good way to troubleshoot this.
Does this only happen to .EXE files, or any type of file?
I don't think there is any issue with your Perl code per se; but if it's running in the wrong context, it's modifying the file itself, rather than adding metainformation into the headers.
9 More Discussions You Might Find Interesting
1. Programming
At time of installation I have to open the resource. and i have to insert a string serial number in the exe.
please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
2. AIX
I'm getting the following error after we replaced a failed disk in a mirrored logical volume. We cleared the device entry in ODM before adding the new disk but when we create the mirror we get the following error after running lslv.
0516-022 lslv: Illegal parameter or structure value.... (1 Reply)
Discussion started by: Alfredo Jimenez
1 Replies
3. Linux
have following package installed
rpm -qa |grep ADMIN
It will give the following package installed:
ADMIN-4.0.0.1
Now I will upgrade the ADMIN package using the following command.
rpm --upgrade ADMIN-4.1.0.1
It will upgrade the ADMIN packagge to ADMIN-4.1.0.1
Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies
4. AIX
Hello, I'm trying to build a (bff) package from an already installed program (clam antivirus) using mkinstallp. However, mkinstallp fails with "no such file: ./usr/lpp/<package name>/inst_root"
I'm not sure why all files get created ok except for these particular ones. Any help would be... (2 Replies)
Discussion started by: omonte
2 Replies
5. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
6. Solaris
hi
i have a sun server V890 and i added two cpu/memory modules to it but it caused the motherboard to become corrupted
could you please help me find what causes this problem and how to avoid it because i changed the corrupted motherboard and i want to do the expansion and I'm scared that ... (2 Replies)
Discussion started by: bahjatm
2 Replies
7. Linux
Dear all,
I would like to install a new version of package without remove old version on Centos and vice versa.
Please give me advice!
thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
9. Emergency UNIX and Linux Support
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
Discussion started by: g_p
4 Replies
LEARN ABOUT DEBIAN
sgmldiff
SGMLDIFF(1) SGMLDIFF(1)
NAME
sgmldiff - Find differences in the markup of two SGML files
SYNOPSIS
sgmldiff [ options ... ] file1 file2 [ -a | --attributes
| -c [ attributes | nesting | textpos ] | --context [ attributes | nesting | textpos ]
| -s | --statistics
| -h | --help
| -v | --version ]
DESCRIPTION
This perl script allows to determine the structural differences between two SGML files. It compares the files, regardless of what is in
between the tags, to only focus on the markup. Its output is similar to diff(1).
The typical use of sgmldiff is to compare an SGML file with its translation into another language. If the translation was done cleanly,
sgmldiff returns without finding any difference in the markup.
An example of a typical call to sgmldiff is:
sgmldiff english.sgml italiano.sgml
If there are differences in markup between both files, sgmldiff will output a series of differences reports summarized with lines of the
form:
169a164
At line 169 of the first file, line 164 of the second file has been added.
8a12,15
At line 8 of the first file, lines 12 to 15 of the second file have been added.
41d28 Line 41 of the first file has been destroyed, to obtain line 28 of the second file.
63,66d61
Lines 63 to 66 of the first file have been destroyed. to obtain line 61 of the second file.
52c51 Line 52 of the first file has been changed into line 51 of the second file.
5,7c8,10
Lines 5 to 7 of the first file have been changed into lines 8 to 10 of the second line. In addition to those summaries, the lines
of the first file are shown preceeded by '<' and the lines of the second file are shown preceeded by '>".
OPTIONS
Here is the list of actions that can be requested to sgmldiff:
[ -a | --attributes ]
Include the attribute values in the difference tests. Don't set this value if the attributes are likely to be translated. Set this
value if the attributes value shouldn't change between both files. Default is to don't include the attributes in the difference
tests.
[ -c [ attributes | nesting | textpos ] | --context [ attributes | nesting | textpos ] ]
Add more context to the difference. Since every test between the tags is removed before testing the differences, sgmldiff is likely
to resynchronize itself at the wrong place, by thinking the location in both files correspond, while it's not true. By adding more
context to the compared area, such risk is disminished.
The allowed values for the --context option are:
attributes
Take into account the attribute names. The attribute values are controlled by the attributes option.
nesting
Take into account the nesting level of all the compared tags.
textpos
Take into account the position in the text.
[ -s | --statistics ]
Print some SGML information at the end.
[ -h | --help ]
Print a short help message and exit
[ -v | --version ]
Print the version identifier and exit
FILES
AUTHORS
Frederik Fouvry
Developer of sgmldiff.
SEE ALSO
jw(1)
conversion from a SGML file to other file formats
nsgmls(1)
a base component of Jade DSSSL engine
http://sources.redhat.com/docbook-tools/ <URL:http://sources.redhat.com/docbook-tools/>
the home page of the DocBook tools, a compendium of all tools necessary to process DocBook files, including the DocBook-utils
12 September 2012 SGMLDIFF(1)