Finding characters on a command line with bash