Why is `sed expr1 | sed expr2` different to `sed -e expr1 -e expr2` – unix.stackexchange.com

I was splitting the output from id to provide a more readable line-by-list list of groups of which a user is a member: id roaima | sed 's/,/\n\t/g' uid=1001(roaima) gid=1001(roaima) groups=1001(...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why is `sed expr1 | sed expr2` different to `sed -e expr1 -e expr2` – unix.stackexchange.com"