[Flac-dev] [wolfgang@rohdewald.de: Bug#274700: flac: --export-vc-to should quote strings containing spaces]

Josh Coalson xflac at yahoo.com
Wed Oct 6 09:28:08 PDT 2004


that's a nice trick but I don't think it should be integrated
into metaflac (not yet at least).  there are other things that
can appear in comments that will throw this off too (double
quotes, newlines).

this has come up on the vorbis lists too in the past and has
not been resolved as far as I know.

Josh

--- Matt Zimmerman <mdz at debian.org> wrote:

> ----- Forwarded message from Wolfgang Rohdewald
> <wolfgang at rohdewald.de> -----
> 
> Date: Sun, 03 Oct 2004 19:24:38 +0200
> From: Wolfgang Rohdewald <wolfgang at rohdewald.de>
> Resent-From: Wolfgang Rohdewald <wolfgang at rohdewald.de>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Subject: Bug#274700: flac: --export-vc-to should quote strings
> containing spaces
> 
> Package: flac
> Version: 1.1.0-11
> Severity: normal
> 
> 
> eval `metaflac --export-vc-to - "$flacfile"`
> 
> fails if a vc-field contains spaces because the strings are not
> quoted. If they were, using metaflac in scripts would be much easier
> like in
> 
> eval `metaflac --export-vc-to - "$flacfile"`
> id3 -A "$ALBUM" -t "$TITLE" -a "$ARTIST" -y "$DATE" -g "$GENRE" -T
> "$TRACKNUMBER" "$mp3file"                                            
>    
> 
> Now I need to do this nasty workaround:
> 
> eval `metaflac --export-vc-to - "$flacfile" | sed s'/=/="/' | sed
> 's/$/"/'`
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.27
> Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (ignored: LC_ALL set to
> C)
> 
> Versions of packages flac depends on:
> ii  libc6                       2.3.2.ds1-17 GNU C Library: Shared
> libraries an
> ii  libflac4                    1.1.0-11     Free Lossless Audio
> Codec - runtim
> ii  libogg0                     1.1.0-1      Ogg Bitstream Library
> ii  liboggflac1                 1.1.0-11     Free Lossless Audio
> Codec - runtim
> 
> -- no debconf information
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST at lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster at lists.debian.org
> 
> ----- End forwarded message -----
> 
> -- 
>  - mdz
> _______________________________________________
> Flac-dev mailing list
> Flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


More information about the Flac-dev mailing list