Text this: UNIX Shell programming / Stephen G. Kochan, Patrick Wood.