Regex: what does {N;d} mean?
Jump to:
Project: | Programming |
Component: | Code |
Category: | support request |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
Related pages: | #5365: Removing formatting from srt files :-:-: #5370: sed :-:-: #5384: Regular Expressions (regex) |
Tags: | regex |
Description
In the regular expression in this sed command:
sed -r '/^[0-9]+$/{N;d}' in > out
what does the {N;d} do?
Comments
#1