[php-maint] Bug#770105: php5-common: sed call in cron script fails with "invalid opdtion -- 'z'"

Juhani Karlsson juhani.karlsson at iki.fi
Wed Nov 19 08:22:38 UTC 2014


Package: php5-common
Version: 5.4.35-0+deb7u1
Followup-For: Bug #770105

Same error:

Date: Wed, 19 Nov 2014 10:09:01 +0200 (EET)
From: Cron Daemon <root at qwerty123>
To: root at qwerty123
Subject: Cron <root at qwerty123>   [ -x /usr/lib/php5/maxlifetime ] && [ -x
    /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] &&
    /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)

sed: invalid option -- 'z'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
  --follow-symlinks
                 follow symlinks when processing in place
  -i[SUFFIX], --in-place[=SUFFIX]
                 edit files in place (makes backup if extension supplied)
  -l N, --line-length=N
                 specify the desired line-wrap length for the `l' command
  --posix
                 disable all GNU extensions.
  -r, --regexp-extended
                 use extended regular expressions in the script.
  -s, --separate
                 consider files as separate rather than as a single continuous
                 long stream.
  -u, --unbuffered
                 load minimal amounts of data from the input files and flush
                 the output buffers more often
      --help     display this help and exit
      --version  output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.



-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.63.3.2.63-2+deb7u1-qwerty123 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-common depends on:
ii  dpkg    1.16.15
ii  libc6   2.13-38+deb7u6
ii  lsof    4.86+dfsg-1
ii  psmisc  22.19-1+deb7u1
ii  sed     4.2.1-10
ii  ucf     3.0025+nmu3

php5-common recommends no packages.

php5-common suggests no packages.

-- no debconf information



More information about the pkg-php-maint mailing list