Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ingmarioalberto/bd4d59a33df7c181d768cff6bea6aeb0 to your computer and use it in GitHub Desktop.
Save ingmarioalberto/bd4d59a33df7c181d768cff6bea6aeb0 to your computer and use it in GitHub Desktop.
Access ARGV inside funcions [bash]
#!/bin/bash
set | grep BASH_ARGV
echo ${BASH_ARGV[0]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment