Guest User

Untitled

a guest
Feb 4th, 2019
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. array=(one two three four five)
  2. array_file=$(mktemp)
  3. printf "%s\n" "${array[@]}" > $array_file
  4. $SED -i -e "/<key>value1<\/key>/ r $array_file" \
  5.         -e "/<key>value1<\/key>/ s/value1/value2/" $XMLFILE
RAW Paste Data