I've some text output like the following:
+-------------------------+-----+--------------------------------+--------------------------------------------+
| Site | SSL | URL | Path |
+-------------------------+-----+--------------------------------+--------------------------------------------+
| samplerds.test | | http://samplerds.test | /Users/user01/Paths/samplexx1 |
| wpo.test | | http://wpo.test | /Users/user01/Paths/wpo |
+-------------------------+-----+--------------------------------+--------------------------------------------+
Is there any way to parsing the text above using awk
or sed
to transform them into the following:
samplerds
wpo
Cheers
.test
?mysql
for example, the ASCII table characters are not printed when you pipe the output somewhere. Is that what you're using maybe?