My output after running a program in bash looks like this (two rows, : limiter, four columns of data)
#003:BMW:11:36
#004:Audi:2:35
I would like to convert that to a bash table like this
| Number | Car | ID | Cost |
|:---- |:------| -----| -----|
| #003 | BMW | 11 | 36
| #004 | Audi | 2 | 35
Is it possible to use sed/awk for this? My data doesn't come from a file.
Asked by Blaine44
(21 rep)
Nov 13, 2021, 12:19 AM
Last activity: Nov 13, 2021, 12:00 PM
Last activity: Nov 13, 2021, 12:00 PM