Tengo la siguiente asignación:Qué significa " 2" al final de una expresión regular
Las palabras de una canción se encuentran en un archivo llamado stairway.txt. ¿Cuál de las siguientes líneas se imprimirán después de este comando:
grep -E '(^.{4})(.{2}).*[ ]\2' stairway.txt
(a) Yes, there are two paths you can go by but in the long run
(b) Its just a spring clean for the May queen.
(c) Don't be alarmed now.
(d) If there's a bustle in your hedgerow.
(e) Theres still time to change the road you're on.
No entiendo lo que hace el \2
al final significa?
Tener lo intentas? ¿Es esta tarea? – Toto
escalera denegada :) – Robbie