mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-16 12:15:49 +02:00
parent
a8ec294384
commit
a1212facd2
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
`grep --with-filename --line-number --color=always "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
`grep --with-filename --line-number --color=always "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||||
|
|
||||||
- Busca líneas que coincidan con un patrón e imprime sólo el texto coincidente:
|
- Busca líneas que coincidan con un patrón e imprime solo el texto coincidente:
|
||||||
|
|
||||||
`grep --only-matching "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
`grep --only-matching "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue