• We did not send an email asking for donations - please read this post.

loop

  1. P

    How can make a loop for sed in bash?

    Hi. I need help with loop for sed. I have the script: cat test1.txt | sed -n 1,3p | jq -Rn \ --arg v1 / \ --arg v3 server1 \ '[inputs] | map({"{#NAME}" : $v1, "{#LIST}": ., "{#MARK}": $v3}) | { "data": . }' cat test1.txt | sed -n 4,6p | jq -Rn \ --arg v1 / \ --arg...
Top