theurbanpenguin.com
Match the First Occurrence Only with SED - The Urban Penguin
Ever needed to match the first occurrence only with sed? In this blog we show you how to replace just the first server entry in the chrony.conf