Review 28344

C. Thomas Tyler
Added documented-but-missing logic for extracting custom logic
from SDP shell environment files.
Tip: Use n and p to cycle through the changes.