Forrest logo
back to the xmlstarlet tool

xmlstarlet:ai:0f9f6

Performing addition operation on elements 123 and 456 and outputting the result
$ xmlstarlet sel -t -v '123 + 456' -n
try on your machine

Performing addition operation on elements 123 and 456 and outputting the result

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • perform arithmetic operations on elements with xmlstarlet?
back to the xmlstarlet tool