Top "Text-manipulation" questions

Text/String manipulation is the term used to describe various operations applied to strings and/or text.

sed - comment a matching line and x lines after it

I need help with using sed to comment a matching lines and 4 lines which follows it. in a text file. …

sed text-manipulation
Shift a region or line in emacs

I'm looking for a way in emacs to shift text to the right or to the left by n spaces. …

emacs indentation text-manipulation
How to split file on first empty line in a portable way in shell (e.g. using sed)?

I want to split a file containg HTTP response into two files: one containing only HTTP headers, and one containg …

shell sed portability text-manipulation filesplitting