[Bug 298009] New: file recocnizes Scribus documents as "ASCII text, with very long lines"
https://bugzilla.novell.com/show_bug.cgi?id=298009#c0000 Summary: file recocnizes Scribus documents as "ASCII text, with very long lines" Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: werner@novell.com ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de Found By: --- "file" recocnizes Scribus documents as "ASCII text, with very long lines" instead of identifying them as Scribus documents. Example: # file something.sla grillabend2006.sla: ASCII text, with very long lines Creating a file pattern shouldn't be too hard after looking at the file: # head something.sla head grillabend2006.sla <SCRIBUSUTF8 Version="1.2.2" > <DOCUMENT MAGMAX="3200" MAJGRID="100" ABSTSPALTEN="10.9984" PAGEWITH="595.001" AUTOCHECK="0" LANGUAGE="German" DPIn2="Adobe RGB (1998)" DPgam="0" HCMS="1" DGAP="0" ORIENTATION="0" PASPECT="1" WIDTH="1" MINWORDLEN="3" VTIEFSC="100" DOCLANGINFO="" COMMENTS="" AutoSaveTime="600000" GuideRad="10" TITLE="" KEYWORDS="" DSIZE="12" AUTOSPALTEN="1" PAGESIZE="A4" STIL="1" PEN="Black" SnapToGuides="0" GROUPC="33" DOCFORMAT="" DOCDATE="" BORDERTOP="0" MARGC="#0000ff" SnapToGrid="0" SHOWBASE="0" SHOWGRID="0" GUIDELOCK="0" DIMo="1" DIPr="0" WIDTHLINE="1" DPuse="0" DPSo="0" DOCSOURCE="" FIRSTNUM="1" GuideC="#000080" BRUSH="Black" SHOWMARGIN="0" DPbla="1" VHOCHSC="100" DOCTYPE="" BORDERBOTTOM="0" BRUSHSHADE="100" BASEGRID="14.4" VTIEF="33" DOCCONTRIB="" DOCRELATION="" PICTSCX="1" CPICT="White" PENLINE="Black" AutoSave="0" BASEO="0" DOCIDENT="" AUTOL="20" PICTSCY="1" MAGSTEP="25" PUBLISHER="" ANZPAGES="1" PSCALE="1" LINESHADE="100" HYCOUNT="2" DIMo2="1" AUTHOR="" UNITS="1" BORDERRIGHT="0" RANDF="1" MAJORC="#00ff00" PENSHADE="100" PENTEXT="Black" GRAB="4" SHOWGUIDES="1" DPPr="Europe ISO Coated FOGRA27" DPMo="Adobe RGB (1998)" PAGEHEIGHT="842.001" BACKG="1" GuideZ="10" MINGRID="20" VHOCH="33" DOCCOVER="" DCOL="1" SHOWPICT="1" SHOWFRAME="0" AUTOMATIC="1" ALAYER="0" DOCRIGHTS="" PICTSHADE="100" DPIn="Adobe RGB (1998)" VKAPIT="75" DFONT="Zero Threes Regular" BORDERLEFT="0" PAGEC="#ffffff" BaseC="#c0c0c0" MINORC="#00ff00" MAGMIN="10" STILLINE="1" > <COLOR RGB="#f0f8ff" CMYK="#0f070000" NAME="AliceBlue" /> <COLOR RGB="#faebd7" CMYK="#000f2305" NAME="AntiqueWhite" /> <COLOR RGB="#ffefdb" CMYK="#00102400" NAME="AntiqueWhite1" /> <COLOR RGB="#eedfcc" CMYK="#000f2211" NAME="AntiqueWhite2" /> <COLOR RGB="#cdc0b0" CMYK="#000d1d32" NAME="AntiqueWhite3" /> <COLOR RGB="#8b8378" CMYK="#00081374" NAME="AntiqueWhite4" /> <COLOR RGB="#7fffd4" CMYK="#80002b00" NAME="Aquamarine" /> <COLOR RGB="#7fffd4" CMYK="#80002b00" NAME="Aquamarine1" /> Probably related, therefore no separate report for now: Konqueror also thinks that Scribus documents (*.sla) are text/plain. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298009#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=298009#c2
Christian Boltz
This is ASCII text with very long lines.
Come on, HTML is also ASCII text and is recognized by file separately ;-)
If you have a patch you may reopen the bug.
The following works in /etc/magic:
0 string \ But please note, I'm on vacation next day. No problem - enjoy it!
[ Note to myself: cleanup /etc/magic before verifying this in 10.3 ;-) ]
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298009
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=298009#c3
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=298009#c4
Christian Boltz
participants (1)
-
bugzilla_noreply@novell.com