Answers for "add line in yaml file using sed"

0

add line in yaml file using sed

sed -i "/callbacks:$/a\
\    - 'https://d1.example.com/callback'" a.yaml
Posted by: Guest on June-04-2021

Browse Popular Code Answers by Language