Likso Asked: 2010-06-29 07:01:34 +0800 CST Shell scripting and regex: Which one is better to match numbers, [[:digit:]] or [0-9]? 4 As the title suggests, which one is better to match numbers, [[:digit:]] or [0-9]? I'm using the bash shell Thanks :) bash regular-expressions unix-shell