-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2060
koalaman edited this page Feb 25, 2014
·
7 revisions
tr -cd [:digit:]
tr -cd '[:digit:]'
[:digit:]
is a shell glob that matches any single character file named e.g. g
or t
in the current directory. Quoting it prevents the script from breaking in directories with files like this.
None