Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don't need a special grep for every language, you just need a tool that translates the mini version into the formatted version and back. Then you chain the tools, just like anything else in UNIX.




Seems reasonable. Since you're likely to perform this translation more than once for any given file, it seems like it would be practical to cache the translated output, perhaps as a file on disk.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: