Q. How do I find the text between the strings FOO and BAR inclusive using sed command line option?
{ 25 comments }
Q. How do I find the text between the strings FOO and BAR inclusive using sed command line option?
{ 25 comments }
Q. I need to delete all empty lines but could not figure out sed command for the same? How do I delete all empty lines with sed? A. sed is a stream editor and perfect for these kind of work. You need to use d command under sed which is act as the delete function. [...]
{ 24 comments }
How do I remove all spaces from string using shell scripts? I’ve var=”This is a test”, and I’d like to remove all spaces.
{ 6 comments }