docs/jobs: Header is stripped in command substitution

This commit is contained in:
Gokul Soumya 2020-07-03 03:16:54 +05:30 committed by Johannes Altmanninger
parent 90d8df8128
commit 6212a584a7

View file

@ -30,6 +30,8 @@ jobs accepts the following switches:
On systems that supports this feature, jobs will print the CPU usage of each job since the last command was executed. The CPU usage is expressed as a percentage of full CPU activity. Note that on multiprocessor systems, the total activity may be more than 100\%.
If the output of ``jobs`` is redirected or if it is part of a command substitution, the column header that is usually printed is omitted, making it easier to parse.
The exit status of ``jobs`` is ``0`` if there are running background jobs and ``1`` otherwise.
no output.