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

Matt Zimmerman mdz at debian.org
Sun Oct 3 14:48:40 PDT 2004


----- 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


More information about the Flac-dev mailing list