take a pattern from the command line (who's idea was it to use an embedded string ?-)