home *** CD-ROM | disk | FTP | other *** search
- #!c:sksh
-
- #*************************************************************************
- # This function clears the directory stack.
- #*************************************************************************
-
- if [ "$1" = '-?' ]
- then
- echo 'Usage:' $(basename $0)
- echo ' (clears directory stack)'
- return 1
- fi
-
- DIRSTACK = ''
- export -l DIRSTACK
-