Some string utilities for batch processing text files
C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
del_newline.c
limerick1
limerick2
sample.html
tagfinder.c

README

SnaggleTooth -- String utilities for batch operations.
~ Mar. 18, 2010, cleaned and rewritten Mar. 23, 2011
jsyang.ca@gmail.com

ex: Find all the embedded Javascript code within a page and spit it to code.js
> tagfinder --key "<script" --head ">" --tail "</script>" sample.html > code.js

ex: Remove all the newlines from sample.html
> del_newline limerick1 limerick2 > blindedByTheLimericks.txt