shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Grep


From: Alfredo Casanova
Subject: Re: [shell-script] Grep
Date: Wed, 27 Mar 2019 13:54:49 -0300

basename $(ls /opt/bns/wss_home/uatghu 2>&1 | egrep -o "(/[^/']*)+")

On Wed, Mar 27, 2019 at 12:06 PM João Gabriel _ address@hidden [shell-script] <address@hidden> wrote:
 

alguem me ajuda com o seguinte grep?

ls: cannot access /opt/bns/wss_home/uatghu: No such file or directory


Preciso pegar só o que está em vermelho!





--
[]'s
Alfredo Tristão Casanova .͘.
Linux User #228230
tel: +55 61 9655 9619

reply via email to

[Prev in Thread] Current Thread [Next in Thread]