We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I found a simple solution using the sed command but I don't know if I can use it to solve this problem. Other approaches to find a solution consist in use both commands, head and tail, passing the output of the first command as input of the second command.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Middle of a Text File
You are viewing a single comment's thread. Return to all comments →
I found a simple solution using the sed command but I don't know if I can use it to solve this problem. Other approaches to find a solution consist in use both commands, head and tail, passing the output of the first command as input of the second command.