diff options
Diffstat (limited to 'home/xyz/.local/bin/lastarg')
-rwxr-xr-x | home/xyz/.local/bin/lastarg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/lastarg b/home/xyz/.local/bin/lastarg new file mode 100755 index 00000000..58f1f14e --- /dev/null +++ b/home/xyz/.local/bin/lastarg @@ -0,0 +1,5 @@ +#!/bin/sh +# useage: lastarg "$@" + +shift $(($# - 1)) +echo "$1" |