1 2 3 4 5 6 7
#!/bin/sh set -eu printf 'Name: ' read -r nick rest printf '%s %s\n' "$nick" "${SSH_CLIENT:-}" >>nicks.log exec catgirl -n "$nick" -s "$nick" "$@"