This is your perl brain. A horrible thing to waste. Say no to shell scripts.