tags:

views:

43

answers:

2

how to perfrom sed one commmand in please to perfrom as the follwoing:

| sed s'/:/ /g' | sed s'/=/ /g'

for example

sed s'/..../ /g' 

lidia

+3  A: 
sed s'/[:=]/ /g'

Brackets mean "any one of".

Sanjay Manohar
+1  A: 

One option is also to use sed -e, like this. Although you don't need it in this case, it's however a good option to know about.

sed -e 's/:/ /' -e 's/..../ /' file
Anders