bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file magic for SVG


From: Christos Zoulas
Subject: Re: file magic for SVG
Date: Tue, 28 Jun 2005 08:58:22 -0400

On Jun 28, 12:07pm, address@hidden (Stepan Kasal) wrote:
-- Subject: Re: file magic for SVG

| Hello,
| 
| On Mon, Jun 27, 2005 at 12:53:24PM -0400, Christos Zoulas wrote:
| > So you could have:
| > 0       string/cB       \<!DOCTYPE\ svg         SVG image data
| > 0       string/c        \<svg\>                 SVG image data
| > 0       string/cb       \<svg\                  SVG image data
| 
| isn't the last line equivalent to:
| 
| 0       string/c       \<svg                  SVG image data
| 
| (the trailing blank is optional?)
| 
| Perhaps you ment:
| 
| 0       string/cB       \<svg\                  SVG image data

Yes, that is what I meant.

| A guess: with option ``B'', the trailing space can match any ``blank'',
| not only space, but also tab, perhaps even newline?
| 
| If my guess were not right, we could go back to:
| 0       string/cB       \<!DOCTYPE\ svg         SVG image data
| 0       string/c        \<svg                   SVG image data

What the specification? Is <svgfoo> a valid SVG file?

christos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]