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: Stepan Kasal
Subject: Re: file magic for SVG
Date: Tue, 28 Jun 2005 12:07:24 +0200
User-agent: Mutt/1.4.1i

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

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

Have a nice day,
        Stepan Kasal




reply via email to

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