parsing aline

hi
i have a line like "start protocol:","Received message:","Received SIGNON req","SIGNON_REPLY->SIGNON"

i need to remove the commas and i want to read start protocol: as a single string

please help

thanks in advance
Satya

Use maybe sed or tr to remove the commas, and maybe cut, awk or sed to get your wanted string.

An example for example :slight_smile: has been answered to a former post of you:

For deleting a character, best try it out, use it yourself. It is very easy.

> echo "start protocol:","Received message:","Received SIGNON req","SIGNON_REPLY->SIGNON" | tr -d " " | tr "," " "
startprotocol: Receivedmessage: ReceivedSIGNONreq SIGNON_REPLY->SIGNON