mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-23 00:29:59 +02:00
remove integers
This commit is contained in:
@ -10,41 +10,33 @@ Example:
|
|||||||
$ jobs -l | jc --jobs -p
|
$ jobs -l | jc --jobs -p
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"job_number": 1,
|
"job_number": "1",
|
||||||
"pid": 14798,
|
"pid": "19510",
|
||||||
"status": "Running",
|
"status": "Running",
|
||||||
"command": "sleep 10000 &"
|
"command": "sleep 1000 &"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"job_number": 2,
|
"job_number": "2",
|
||||||
"pid": 14799,
|
"pid": "19511",
|
||||||
"status": "Running",
|
"status": "Running",
|
||||||
"command": "sleep 10001 &"
|
"command": "sleep 1001 &"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"job_number": 3,
|
"job_number": "3",
|
||||||
"pid": 14800,
|
"pid": "19512",
|
||||||
"status": "Running",
|
|
||||||
"command": "sleep 10002 &"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"job_number": 4,
|
|
||||||
"pid": 14814,
|
|
||||||
"history": "previous",
|
"history": "previous",
|
||||||
"status": "Running",
|
"status": "Running",
|
||||||
"command": "sleep 10003 &"
|
"command": "sleep 1002 &"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"job_number": 5,
|
"job_number": "4",
|
||||||
"pid": 14815,
|
"pid": "19513",
|
||||||
"history": "current",
|
"history": "current",
|
||||||
"status": "Running",
|
"status": "Running",
|
||||||
"command": "sleep 10004 &"
|
"command": "sleep 1003 &"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
import string
|
import string
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user