Skip to content

Bash utility function that strips non-numeric characters from its arguments

License

Notifications You must be signed in to change notification settings

joeljuca/numeric-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7904886 · Jul 29, 2018

History

4 Commits
Jul 29, 2018
Jul 29, 2018
Jul 29, 2018

Repository files navigation

numeric-only

Bash utility function that strips non-numeric characters from its arguments.

Usage

numeric-only "123.456.789"  # => 123456789
numeric-only 123 456 789    # => 123456789
numeric-only 12. 34 5.6 .78 # => 12345678

License

ISC

About

Bash utility function that strips non-numeric characters from its arguments

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages