Linux Today: Linux News On Internet Time.

More on LinuxToday

Line Addressing in sed

Jul 30, 2011, 10:01 (0 Talkback[s])


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

[ Thanks to Andrew Weber for this link. ]

"Line addressing allows you to select the lines that you want to work with. Addressing can use regular expressions to determine the lines or list numbers for the lines in the format of a number. If two numbers are used separated by a comma then it becomes a range.

"A good example of this is when you place the contents of top into a file so you can work with it. However, top has five lines at the top that make it hard to work with the lines below. You can see that in the example."

Complete Story

Related Stories: