Snippet Path

Sed replace only first occurrence

Authors
bash
sed -i '1,/string/ s/string/replacement/g' filename