1.

Write A Command To Replace The Second Occurrence Of The Word "bat" With "ball" In A File?

Answer»

SED 's/bat/ball/2' < FILENAME

sed 's/bat/ball/2' < filename



Discussion

No Comment Found