GitXplorerGitXplorer
a

awck

public
5 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
91292c260ae137b03143c23c821e6c6b517a177b

quote string search

aaaronfeng committed 13 years ago
Unverified
6dc8eb5fd92b8d12300a3ec6ae70706299d1b000

support for infinite file search

aaaronfeng committed 13 years ago
Unverified
a19cc09dc718f7c6783d722c2e8290043c4a7200

todo

aaaronfeng committed 13 years ago
Unverified
1490b8d56f5eeaceb0ad41966ff3988f17516509

resolve path name correctly

aaaronfeng committed 13 years ago
Unverified
dadfbc6187243fce502b9a7b308f723be9a6a52b

typeo

aaaronfeng committed 13 years ago
Unverified
8cda9ba58cefbef2aaae62a866fea787c2e1f923

removed dead code

aaaronfeng committed 13 years ago

README

The README file for this repository.

I was bored, so I started to implement ack (http://betterthangrep.com/) in awk. It is a very simplistic version of ack.

Usage: ./awck search_pattern [path]

examples: ./awck debugger jquery.js ./awck [0-9]+ ../jquery.js

Since it is not as featureful as ack (but gets the job done), it seems to be a bit faster than ack.

time ack [0-9]+ jquery.js > /dev/null

real 0m0.188s user 0m0.071s sys 0m0.055s

time ./awck [0-9]+ jquery.js > /dev/null

real 0m0.022s user 0m0.015s sys 0m0.005s

TODO:

  • The ability to ignore non-code files (turn this thing from grep to ack).