1DSCEXTRACT(1)               General Commands Manual              DSCEXTRACT(1)
2
3
4

NAME

6       dscextract - extract a single file from a Debian source package
7

SYNOPSIS

9       dscextract [options] dscfile file
10

DESCRIPTION

12       dscextract  reads a single file from a Debian source package.  The idea
13       is  to  only  look  into  .diff.gz  files  (source   format   1.0)   or
14       .debian.tar.gz/bz2  files  (source  format  3.0)  where possible, hence
15       avoiding to unpack large tarballs.  It is most useful for files in  the
16       debian/ subdirectory.
17
18       file is relative to the first level directory contained in the package,
19       i.e. with the first component stripped.
20

OPTIONS

22       -f     "Fast" mode. For source format 1.0, avoid to fall back  scanning
23              the  .orig.tar.gz  file  if  file was not found in the .diff.gz.
24              (For 3.0 packages, it is assumed that debian/* are  exactly  the
25              contents of debian.tar.gz/bz2.)
26

EXIT STATUS

28       0      file was extracted.
29
30       1      file was not found in the source package.
31
32       2      An error occurred, like dscfile was not found.
33

EXAMPLE

35       dscextract dds_2.1.1+ddd105-2.dsc debian/watch || test $? = 1
36

AUTHOR

38       dscextract was written by Christoph Berg <myon@debian.org>.
39
40
41
42DEBIAN                         Debian Utilities                  DSCEXTRACT(1)
Impressum