|
From: | Julio C. Neves |
Subject: | Re: [shell-script] grep ignorando linha |
Date: | Wed, 18 Jun 2014 20:36:49 -0300 |
Se entendi,
$ grep -v '^#.*work' arquivo
Resolve.
Olá, pessoal.Eu tenho grep que filtra uma palavra no arquivo e depois remove as linhas que são comentários.
$ grep work file | grep -v ^#Tem como juntar isso em um grep só?
Alysson Gonçalves de Azevedo
"Anarcho-syndicalism is a way of preserving freedom." - Monty Python
[Prev in Thread] Current Thread [Next in Thread]
- grep ignorando linha, Alysson Gonçalves de Azevedo, 2014/06/18
- Re: [shell-script] grep ignorando linha, Julio C. Neves <=
- Re: [shell-script] grep ignorando linha, Alysson Gonçalves de Azevedo, 2014/06/18
- Re: grep ignorando linha, itamarnet, 2014/06/18
- Re: grep ignorando linha, king . sidney, 2014/06/18
- Re: [shell-script] Re: grep ignorando linha, Alysson Gonçalves de Azevedo, 2014/06/18
- Re: [shell-script] Re: grep ignorando linha, Sidney Souza, 2014/06/18
- Prev by Date: grep ignorando linha
- Next by Date: Re: [shell-script] grep ignorando linha
- Previous by thread: grep ignorando linha
- Next by thread: Re: [shell-script] grep ignorando linha
- Index(es):