Tag Archives: awk substr

Awk built-in functions: gsub, sub, substr

Awk’s built-in string processing function is the one we use most. Today, we share with you: gsub, sub, substr. Continue reading

Posted in Awk Command, Text Processing | Tagged , , , , | Comments Off on Awk built-in functions: gsub, sub, substr

How to use awk to select substring in linux/unix

Awk substr has built-in functions that can help us select substrings anywhere in the input string. awk substr syntax: substr(string, start, lenght) Continue reading

Posted in Awk Command, Text Processing | Tagged , , | Comments Off on How to use awk to select substring in linux/unix