6
Ho il seguente incarico:Cosa significa " 2" alla fine di un'espressione regolare
Le parole di una canzone si trovano in un file chiamato stairway.txt. Quale delle seguenti linee verrà stampata dopo questo 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.
Non capisco che cosa fa il \2
alla fine significa?
Avere lo provate? Sono questi compiti? – Toto
scala negata :) – Robbie