| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | address=/home/bozo/daily-journal.txtscip-shell filesystem . . `/home/bozo/daily-journal.txt`. |
| 4 | |
| 5 | echoscip-shell system . . echo. "Basename of /home/bozo/daily-journal.txt = `basenamescip-shell system . . basename. $address`" |
| 6 | echoscip-shell system . . echo. "Dirname of /home/bozo/daily-journal.txt = `dirnamescip-shell system . . dirname. $address`" |
| 7 | echoscip-shell system . . echo. |
| 8 | echoscip-shell system . . echo. "My own home is `basenamescip-shell system . . basename. ~/`." # `basename ~` also works. |
| 9 | echoscip-shell system . . echo. "The home of my home is `dirnamescip-shell system . . dirname. ~/`." # `dirname ~` also works. |
| 10 | |
| 11 | exit 0 |