Re: файлы с расширением ABS
Добавлено: 09 окт 2011, 16:58
Да дело тёмное, вы правы...
Форум по операционной системе GNU/Linux и свободному программному обеспечению
http://linux-ru.ru:80/
Рассмотрение содержимого файла /usr/share/misc/magic многое проясняет.Olej писал(а): Явно, что она использует магик-символы начальные...
Код: Выделить всё
# OpenOffice.org / KOffice / StarOffice documents
# Listed here because they ARE zip files
#
# From: Abel Cheung <abel@oaka.org>
>30 string mimetype
...
# OpenDocument formats (for OpenOffice 2.x / StarOffice >= 8)
# http://lists.oasis-open.org/archives/office/200505/msg00006.html
>>50 string vnd.oasis.opendocument. OpenDocument
>>>73 string text
>>>>77 byte !0x2d Text
!:mime application/vnd.oasis.opendocument.text
...
Код: Выделить всё
[olej@nvidia Kernel.BOOK.WWW]$ hexdump -s30 -n8 -c KERN_GPL.4.95.odt
000001e m i m e t y p e
0000026
Код: Выделить всё
[olej@nvidia Kernel.BOOK.WWW]$ hexdump -s50 -n23 -c KERN_GPL.4.95.odt
0000032 v n d . o a s i s . o p e n d o
0000042 c u m e n t .
0000049
Код: Выделить всё
[olej@nvidia Kernel.BOOK.WWW]$ hexdump -s73 -n4 -c KERN_GPL.4.95.odt
0000049 t e x t
000004d
Код: Выделить всё
[olej@nvidia Kernel.BOOK.WWW]$ cat utf.jpg
UTF8 текстовый файл
[olej@nvidia Kernel.BOOK.WWW]$ file utf.jpg
utf.jpg: UTF-8 Unicode text
Код: Выделить всё
0 string \335\163\146\163 Unicode text, UTF-8-EBCDIC
0 string \376\377\000\000 Unicode text, UTF-32, big-endian
0 string \377\376\000\000 Unicode text, UTF-32, little-endian
0 string \016\376\377 Unicode text, SCSU (Standard Compression Scheme for Unicode)