[defensive-coding-guide] 118/120: Shell: Use a snippet for the input validation example