Friday, 15 January 2010

How separate grep result with comma in bash? -



How separate grep result with comma in bash? -

i have next grep command echo $a | grep -po '(?<=demo-jms2;)[^;]+'. how can separate result of command comma?

how pipe grep output tr '\n' ','

bash grep design-patterns

No comments:

Post a Comment