skip to Main Content

Ubuntu – GNU parallel freezes

I have a bash script that applies different transformation/mappings on columns of TSV file. I am trying to parallelize the transformations using GNU parallel, however my code hangs. For simplicity consider cat, the identity mapper (i.e. input -> output), and…

VIEW QUESTION

How to extract surrounding html with bash?

I would like to read the href url that is stored next to the <td>blue</td> element: <html> <body> <table> <tr> <td> <a href="localhost/url1">url1</a> </td> <td>blue</td> </tr> <tr> <td> <a href="localhost/url2">url2</a> </td> <td>green</td> </tr> </table> </body> </html> I first tried to…

VIEW QUESTION
Back To Top
Search