quando cerco usando ackottengo risultati come questo
/path/to/file/name
42: <code>goes here</code>
Come posso ottenere risultati come questo invece:
/path/to/file/name:42 : <code>goes here</code>
quando cerco usando ackottengo risultati come questo
/path/to/file/name
42: <code>goes here</code>
Come posso ottenere risultati come questo invece:
/path/to/file/name:42 : <code>goes here</code>
Risposte:
Usa l' --nogroupopzione
Se vuoi ancora linee vuote tra i risultati di ogni file, usa l' --breakopzione.