1 | #!/usr/bin/env bash |
2 | |
3 | echo '--- readlink-demo-data.sh ---' |
4 | |
5 | echo '$0 =' $0 |
6 | #cat $(dirname $0)/readlink-demo-data.txt |
7 | |
8 | script=$(readlink -f $0) |
9 | #script=$(readlink $0) |
10 | #script=$(bin/readlink -f $0) |
11 | |
12 | echo "script = $script" |
13 | |
14 | cat $(dirname $script)/readlink-demo-data.txt |