Bug#205543: xserver-common: postinst uses head -1 not head -n 1
Package: xserver-common
Version: 4.2.1-0woody1
Severity: normal
http://lists.debian.org/debian-glibc/2003/debian-glibc-200308/msg00127.html
* The following obsolete usages are no longer supported when conforming
to POSIX 1003.1-2001, which prohibits most digit-string options:
expand -N (instead, use expand -t N)
head -N (instead, use head -c N or head -n N)
fold -N (instead, use fold -w N)
split -N (instead, use split -l N)
tail -N (instead, use tail -c N or tail -n N)
unexpand -N (instead, use unexpand --first-only -t N)
uniq -N (instead, use uniq -f N)
--------xserver-common.postinst-------
if ! head -1 $CONFIGFILE | egrep -q '^### BEGIN DEBCONF SECTION';then
Tobias
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux g25 2.4.21-ck3-nfsacl-i2c #1 Thu Jul 24 18:28:13 CEST 2003 i686
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8
Versions of packages xserver-common depends on:
ii debconf 1.0.32 Debian configuration management sy
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii xfree86-common 4.2.1-0woody1 X Window System (XFree86) infrastr
Reply to: