Pregunta de entrevista de SAP

how is grep coded in the linux kernel?