You are viewing a single comment's thread. Return to all comments →
grep '\([0-9]\) *\1'
Takes a digit ([0-9]), remembers it (\...\), looks for zero or more spaces ( *) followed by a repeat of the stored digit (\1).
Seems like cookies are disabled on this browser, please enable them to open this website
'Grep' - B
You are viewing a single comment's thread. Return to all comments →
grep '\([0-9]\) *\1'
Takes a digit ([0-9]), remembers it (\...\), looks for zero or more spaces ( *) followed by a repeat of the stored digit (\1).