[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Putting URL view results in a txt file without copy and pasting



On Mon, 05 Jan 2004 18:07:23 -0600 Joseph A. Nagy, Jr. wrote:

> Earlier today I tried

> $urlview .gaim/logs/*.log > url-view.txt

> It worked, but the output was a bit nasty. Is there a way to just get 
> the url's from urlview into a txt file?

Depending somewhat of the format of the logfile, then something like

  cat .gaim/logs/*.log | tr ' ' '\n' | grep "http:|www\." >urls.txt
  
You may have to experiment a little with tr.


Morten



Reply to: