[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Contrario do DIFF
From: |
Anderson Duarte |
Subject: |
Re: [shell-script] Contrario do DIFF |
Date: |
Fri, 19 Feb 2010 11:06:31 -0300 |
Opa! desculpe mas eu nem tinha visto a dica do Eri! realmente interessante o
comando comm, eu nem conhecia. hehehe
2010/2/19 Anderson Duarte <address@hidden>
> > quero comparar linha a linha e imprimir as igualdades
>
>
> anderson$ cat arq1.txt
> alfa
> beta
> gama
> anderson$ cat arq2.txt
> alfa
> beta
> omega
> anderson$ sort -r arq1.txt arq2.txt | uniq -d
> beta
> alfa
>
>
> Serve??
>
>
> --
> # Anderson Duarte (Rizada)
> # http://rizada.org
> # Gtalk: andersonrizada
> # Jabber:address@hidden <address@hidden>
> # Skype: andersonrizada
> # twitter.com/andersonrizada
> /(bb|[^b]{2})/ That is the question! - Shakespeare. :)
>
--
# Anderson Duarte (Rizada)
# http://rizada.org
# Gtalk: andersonrizada
# Jabber:address@hidden <address@hidden>
# Skype: andersonrizada
# twitter.com/andersonrizada
/(bb|[^b]{2})/ That is the question! - Shakespeare. :)
[As partes desta mensagem que não continham texto foram removidas]
- Contrario do DIFF, Leonardo Bites, 2010/02/19
- Re: [shell-script] Contrario do DIFF, Moacir Souza, 2010/02/19
- Re: [shell-script] Contrario do DIFF, Eri Ramos Bastos, 2010/02/19
- Re: [shell-script] Contrario do DIFF, Leslie Watter, 2010/02/19
- Re: [shell-script] Contrario do DIFF, jimmy, 2010/02/19
- Re: [shell-script] Contrario do DIFF, Anderson Duarte, 2010/02/19