Package: patch
Version: 2.6-3
Severity: normal

hello,

  the following description in the manpage says (below), but
when using patch -b and not specifying -V, it clobbers the .orig
file instead of using the numbered or t method as explained
as the default.  from the description i was expecting a file
name like X.c.orig.0 to be created if X.c.orig already existed.

  i'm not sure what the actual intended default is, but i'm pretty
sure some people don't want their .orig files overwritten.

  the added text to the simple method that reflects current behavior
would be something like:

  "simple overwrites the file.orig if it already exists."

  thanks for your attention,  having much fun, enjoying
wheezy/testing  :)


==================

     -V method  or  --version-control=method
....

          existing  or  nil
             Make  numbered backups of files that already have them, otherwise
simple
             backups.  This is the default.

          numbered  or  t
             Make numbered backups.  The numbered backup file name  for  F  is
F.~N~
             where N is the version number.

          simple  or  never
             Make  simple  backups.  The -B or --prefix, -Y or --basename-
prefix, and
             -z or --suffix options specify the simple backup file name.  If
none  of
             these  options are given, then a simple backup suffix is used; it
is the
             value of the SIMPLE_BACKUP_SUFFIX environment variable if  set,
and  is
             .orig otherwise.




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages patch depends on:
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib

patch recommends no packages.

Versions of packages patch suggests:
pn  diffutils-doc                 <none>     (no description available)
ii  ed                            1.4-3      The classic UNIX line editor

-- no debconf information



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