-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2060
Vidar Holen edited this page Oct 4, 2015
·
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