Public bug reported:
When starting jetty via /etc/init.d/jetty script I encounter the following error: grep: character class syntax is [[:space:]], not [:space:] The cause of this error is line 212 of /etc/init.d/jetty which currently reads CONFIG_LINES=$(cat /etc/jetty/jetty.conf | grep -v "^[:space:]*#" | tr "\n" " ") and should read CONFIG_LINES=$(cat /etc/jetty/jetty.conf | grep -v "^[[:space:]]*#" | tr "\n" " ") Thanks Jay lsb_release -rd Description: Ubuntu 12.04.2 LTS Release: 12.04 apt-cache policy jetty jetty: Installed: 6.1.24-6ubuntu0.12.04.1 Candidate: 6.1.24-6ubuntu0.12.04.1 Version table: *** 6.1.24-6ubuntu0.12.04.1 0 500 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/universe i386 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/universe i386 Packages 100 /var/lib/dpkg/status 6.1.24-6 0 500 http://ca.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages ** Affects: jetty (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1152140 Title: Error in /etc/init.d/jetty script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jetty/+bug/1152140/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs