| Summary: | Make ash.c builtin jobs command look more like bash | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Earl Chew <echew> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.14.x | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Enhance output format from jobs builtin command | ||
Created attachment 491 [details]
Enhance output format from jobs builtin command
Applied to git, thanks! I only excluded this part: @@ -4627,8 +4634,7 @@ ps->status = -1; ps->cmd = nullstr; #if JOBS - if (doing_jobctl && n) - ps->cmd = commandtext(n); + ps->cmd = commandtext(n); #endif } } it does not seem to be relevant, and I do not immediately see that it is correct. |
The output from bash jobs for: a. jobs b. jobs -p c. jobs -l d. jobs -pl resembles: [1]+ Running ls | date | sleep 30 & 1727 [1]+ 1727 Running ls 1728 Running | date 1729 Running | sleep 30 & [1]+ 1727 Running ls 1728 Running | date 1729 Running | sleep 30 &