How to extract word between two forwardslash using sed?

Viewed 22

I have a string in the form of some/word/here. It consists of three words, delimited by the forward slash (/) character.

I want to extract the second word from that string, using the sed command.

0 Answers
Related