celebration – Utilizing sed to change line lead to 2 lines for each one changed

I have actually been attempting to automate something, utilizing sed in a loop I wished to do this:

 while IFS= read -r line; do
sed -r -i """ s |:: set-output name =(. *)::(. * >> )" |" 1= 2" > >$
GITHUB_OUTPUT|p" "$ line". done <

Like this post? Please share to your friends:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: