mardi 13 janvier 2015

Using sed to cut a string starting with n spaces and ending with n spaces


How to use sed to cut text starting with n spaces and ending with n spaces?


For instance This is my string:



01 Title Chapter 01


and I want to get this output:



Title


(the number of spaces is not known)


Thank you.



Aucun commentaire:

Enregistrer un commentaire