unix - grep match that not starting and starting -


i want print path starting /alex/

/alex/   path=/alex/   path = /alex/ b/alex  no match:      b/alex  other match 

i use command :

grep -rv "[0-9aa-zz]/alex/" . | grep "/alex/" 

how can use 1 grep print?

/alex/  path=/alex/   path = /alex/ 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -