Implement -s, +s, and -i options