You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2020/12/15 04:14:41 UTC

[Bug 64989] New: Useless cat re kill signal example

https://bz.apache.org/bugzilla/show_bug.cgi?id=64989

            Bug ID: 64989
           Summary: Useless cat re kill signal example
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: Other
                OS: other
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: chrisdavidramos@gmail.com
  Target Milestone: ---

Hello,

On this* page, there is a useless cat in this example:
`kill -TERM `cat /usr/local/apache2/logs/httpd.pid``


My suggestion is to change it to this:
`kill -TERM $(</usr/local/apache2/logs/httpd.pid)`


My understanding is this suggested code is POSIX compliant.


* https://httpd.apache.org/docs/trunk/stopping.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org