Package: apache2-common Version: 2.0.50-5 Followup-For: Bug #258713 Hello,
`env` also prints functions : ------- cvs_tag=() { if [ -d "CVS" ]; then if [ -e "CVS/Tag" ]; then echo -e "\033[0;33m(`cat CVS/Tag | sed 's,^T,Tag CVS : ,'`)"; return 1; else echo -e "\033[0;32m(Tag CVS : HEAD)"; return 1; fi; else return 0; fi } ------- then grep -v '^ ' or even grep -v '^[[:space:]]' won't work. Why don't you use env -i to run /usr/sbin/apache2 ? To do this, jsut delete the for envkey [..] done block, and replace `/usr/sbin/apache2 -k stop` with : env -i PATH=$PATH PWD=$PWD HOME=$HOME PS1=$PS1 /usr/sbin/apache2 -k stop (do the same for `/usr/sbin/apache2 -k start -DSSL`, `/usr/sbin/apache2ctl graceful$2` et al.) Sorry if I miss the point. Stephane (kwisatz) Jourdois. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.7-mm5 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to [EMAIL PROTECTED]) Versions of packages apache2-common depends on: ii debconf 1.4.29 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii libapr0 2.0.50-5 The Apache Portable Runtime ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.6-8 XML parsing C library - runtime li ii libldap2 2.1.30-2 OpenLDAP libraries ii libmagic1 4.09-1 File type determination library us ii libssl0.9.7 0.9.7d-3.1 SSL shared libraries ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap ii net-tools 1.60-10 The NET-3 networking toolkit ii openssl 0.9.7d-3.1 Secure Socket Layer (SSL) binary a ii ssl-cert 1.0-8 Simple debconf wrapper for openssl ii zlib1g 1:1.2.1.1-5 compression library - runtime -- no debconf information -- /// Stephane Jourdois /"\ ASCII RIBBON CAMPAIGN \\\ ((( Ingénieur développement \ / AGAINST HTML MAIL ))) \\\ 24 rue Cauchy X /// \\\ 75015 Paris / \ +33 6 8643 3085 ///