# Calculate EXSLT (XSLT extentions) XPath value echo "" | ./xmlstarlet sel -t -v "math:abs(-1000)"