≡ Menu


Bash Shell: Extract Digits From a String

How do I extract digits only from a given string under Bash shell?
[click to continue…]

Perl sprintf: How Do I Use sprintf In a Perl Script?

How do I use sprintf() function in a perl script under Linux or UNIX?
[click to continue…]

sed: Remove All Except Digits (Numbers) From Input

How do I remove all (text, special characters, white spaces, tabs etc) from my text file (input) except numbers (digits) using sed command?
[click to continue…]