mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-24 13:53:07 +01:00
17 lines
161 B
Sed
17 lines
161 B
Sed
|
#!/bin/sed -f
|
||
|
|
||
|
# Add header
|
||
|
1i\
|
||
|
| File types | Programs |\
|
||
|
| ---- | ---- |
|
||
|
|
||
|
# Format rows
|
||
|
s/ /` `/g
|
||
|
s/\t/ | `/
|
||
|
s/^/| /
|
||
|
s/$/` |/
|
||
|
|
||
|
# Add a newline at the end
|
||
|
$a\
|
||
|
|