|
Usage
|
| isexist resourcename |
| The isexist program ("is exist") checks to see the existence value of a given resource. It finds out whether a given resource exists as a file, as a directory, or not at all. |
| The resource name is given to the program as the only command-line argument. Either the resource-name is a path-name (either a full path or a partial path from the present working directory) or it is a simple name of a resource that should be located in the present working directory. |
| After checking the existence value of the resource, isexist outputs a string that describes it's existence value before it exits. If the resource exists as a file, then this string is "FILE". If it exists as a directory, then this string is "DIRECTORY". If it does not exist at all, then this string is "ABSENT". |