coconut | Iemand hier thuis in shell scripting? Ik wil een bookmark file van firefox aanpassen naar url's op elke regel, maar ik kom nergens. | 16:53 |
---|---|---|
selckin | pastebin it | 16:54 |
coconut | https://pastebin.com/wP1kmyv5 | 18:10 |
selckin | en welke output wil je? | 18:18 |
selckin | coconut: jq is goeie tool voor command line json | 18:18 |
coconut | selckin, gewoon txt, elke url op een nieuwe regel | 18:19 |
selckin | jq -r '.. | .uri? | strings' bookmarkfile | 18:22 |
coconut | doet ie niet, https://pastebin.com/E4acHBFg | 18:29 |
selckin | is geen valid json, tabs mogen niet, probeer cat ./Desktop/bookmarks-2022-09-15.json | sed -re 's/\t/\\t/g' | jq -r '.. | .uri? | strings' | 18:34 |
coconut | geeft zelfde parse error | 18:38 |
selckin | welke char staat er op die line/col? | 18:39 |
coconut | selckin, oops, ik had twee bestanden verwisseld... nee lijkt te werken selckin, bedankt! : | 18:49 |
coconut | :) | 18:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!