Created
May 26, 2022 10:23
-
-
Save remino/14a3564eb07a1a53af247550b28f5faa to your computer and use it in GitHub Desktop.
Shell script: Get last item in array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for last; do true; done | |
echo $last |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment