Created
September 30, 2022 21:04
-
-
Save chantra/6a7c526f45f833da7eb7d08b053757d8 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
_ARG1="" | |
_ARG2="" | |
function foo() { | |
set -x | |
ls "${_ARG1}" "${_ARG2}" | |
set +x | |
} | |
_ARG1="-l" | |
_ARG2="" | |
foo | |
_ARG2="$(readlink -f $0)" | |
foo |
Author
chantra
commented
Sep 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment