Package: reprepro
Version: 4.13.1-1+b1
Severity: normal

--- Please enter the report below this line. ---

Greetings.

The reprepro man page for the '--list-format' option shows that the option's 
use is via:

   --list-format format

... and discusses the format, however doesn't explain that /single/ quotes 
must be used around the format.  If double-quotes are used, a shell error is 
generated:

  $ reprepro --list-format "${$identifier} ${package} ${version}\n" list sid
  bash: ${$identifier} ${package} ${version}\n: bad substitution

The reprpro man page references that this feature "works like dpkg-query's
--showformat option", but the documentation in the dpkg-query man page for 
this option discusses using double-quotes, then gives an example at the end 
that uses single quotes.  reprepro --list-format works with single quotes:

   $ reprepro --list-format '${$identifier} ${package} ${version}\n' list sid
   sid|main|amd64 coredump-keyring 2013.01.19-1
   sid|main|i386 coredump-keyring 2013.01.19-1
   sid|main|source coredump-keyring 2013.01.19-1

  -- Chris

--
Chris Knadle
chris.kna...@coredump.us

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.11-2-amd64

--- Package information. ---
Depends                (Version) | Installed
================================-+-===============
libarchive13                     | 3.1.2-7
libbz2-1.0                       | 1.0.6-5
libc6                  (>= 2.15) | 
libdb5.1                         | 
libgpg-error0          (>= 1.10) | 
libgpgme11            (>= 1.2.0) | 
zlib1g            (>= 1:1.2.0.2) | 


Recommends      (Version) | Installed
=========================-+-===========
apt            (>= 0.9.4) | 0.9.14


Suggests                           (Version) | Installed
============================================-+-=============================
gnupg-agent                                  | 2.0.22-2
inoticoming                                  | 
lzip                             (>= 1.11-2) | 1.14-2
xz-utils        (>= 5.1.1alpha+20120614-1~)  | 5.1.1alpha+20120614-2
 OR xz-lzma                                  | 
 OR lzma                                     | 
xz-utils                                     | 5.1.1alpha+20120614-2


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to