use regexp, not string splits.
shell script makes cache file to html