In our previous sed articles we learned — sed printing, sed deletion, sed substitute , sed file write, and sed multiple commands. Original String: Substring from right side Substring with 2 steps: om right side. What is the meaning of "You've never met a graph you didn't like?" 844 Views. 1 Solution. The sed command is a bit like chess: it takes an hour to learn the basics and a lifetime to master them (or, at least a lot of practice). for example, if you want to find a substring of digits that starts with a "#" sign, you could write something like: sed 's/^. 1. You must be logged in to post a comment. (2) I am using basic sed expression :-sed -n "am/,/sed/p" to get the text between "am" and "sed" which will output "am \n using \n basic \n sed". awk & sed; Online Training; About; Tuesday, August 28, 2012. / / / - Delimiter character. Let us discuss the substr function with examples. Edit: To clarify what I want to do exactly: I want to parse the output of 'ip link show' for wireless interfaces. It expands to up to length characters of the value of parameter starting at the character specified by offset. # Usage: $0