Package: maint-guide
Version: 1.2.7
Severity: normal

Line 559 of maint-guide.sgml.gz contains this incorrect command:

  grep -rn usr/local/lib *.[ch]

The claimed functionality of this example is to run recursively
through the source tree to aid with replacing /usr/local/* with
/usr/*.

There are two problems. First, grep -r is not recursive unless
directories are specified on the command line. Second, the example
only searches for /usr/local/lib, ignoring /usr/local/bin and
/usr/local/man.


FIX: The following command should work better

  grep -n /usr/local $(find '*.[ch]')

Of course, after altering the sgml, the other formats (pdf, html, and
txt) will need to be regenerated.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to