Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easily search Safari web history files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily search Safari web history files
Authored by: ajp on Apr 30, '04 12:53:40PM

has anyone tried this with awk instead of gawk

awk comes with os x



[ Reply to This | # ]
Easily search Safari web history files
Authored by: ceesaxp on Apr 30, '04 01:30:01PM

This script (seems to) use a few GNU extensions to awk (hence gawk) -- replacing gawk with awk in it produces neither an error nor any results for known patterns.

I'm sure it can be slightly tweaked to use one true awk, as it comes with OSX.



[ Reply to This | # ]
Easily search Safari web history files
Authored by: ceesaxp on Apr 30, '04 03:30:38PM
ok, i tried to fiddle with it a bit -- you can't just replace gawk with awk. most obvious problem is strftime function which is not included in awk. also, pattern matching for FS, RS and within split does not seem to produce what's expected.

[ Reply to This | # ]