Tuesday, August 21, 2012

How do you get last command-line parameter passed to shell script?

#!/bin/sh

echo "${!#}"

No comments :