I have an xargs command:
xargs -a es_doc_positions.txt -P 64 -I {} populate_es_index.py --start {} --end {}
Is it possible to take the input {} and apply simple arithmetic to it? I want to supply the end argument something like:
$(({} + 100000 - 1))
I haven't had any luck with what I've tried so far.