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