← Back to team overview

zim-wiki team mailing list archive

Re: JSON file going wrong - help

 

On Thu, 14 Jul 2011 13:47:15 +0800
"Li-aung Yip ('Lewis')" <liaung.yip@xxxxxxxx> wrote:

> Under Linux, the command
> 
> grep -P \"http://.+?\"; foo.txt --only-matching > urls.txt
> 
> will parse through foo.txt, looking for URLs that begin and end with
> ""quote marks. Any URLs found are output to

<trimmed>

> Not quite a zim-specific solution, but grep is a better tool for this
> job. :)

Thank you so much for the grep command. That really helped :)

-- 
nomnex <nomnex@xxxxxxxxx>


References