sed multiple lines previous line
Hi every body,
I know the sed command with N character for append the next line. There is a way to do the opposite action? I want to get the previous line.. Thanks. |
can you please give us an example or more details? Sed has a "hold space" you can use it to store the previous line.
|
Quote:
Code:
$ cat infile |
All times are GMT -5. The time now is 03:00 PM. |