Eric "Shubes" wrote: > > Nice little exercise. I'm sure there are a myriad of ways to do this. > > This is what I came up with (from directory containing history.dat): > $ tr -d '\\\n' <history.dat | tr ')' '\n' | grep =http:// | cut -d = -f 2- >> history.urls > > It basically does this: > 1) strips out all backslashes and newlines > 2) replaces all close-parentheses with newlines > 3) selects all lines containing =http: > 4) cuts off the front of each line up through the first '=' > > When I run it, what appears to be in the history.url file is nothing but > urls. How's it work for you?
Thank you. I'll try it tonight. Alan
signature.asc
Description: OpenPGP digital signature
--------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss