Quantcast
Channel: Help with regex - Unix & Linux Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by choroba for Help with regex

A comma in sed separates so called addresses in the address range. /./,$ means "From a line containing a character to the last line".

View Article



Help with regex

Okay, this is almost a pure duplicate ... with one little piece of information that I just don't understand. The original question is: Sed Explanation: sed '/./,$!d' file And relates to the following:...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images