home *** CD-ROM | disk | FTP | other *** search
Fred Fish's Product-Info | 1995-10-24 | 952 b | 54 lines |
- .name
- true
- .type
- CLI Tool
- .short
- Simple versions of 'true' and 'false'
- .description
- Trivially simple versions of "true" and "false" UNIX
- like shell commands, for cases where the shell in use
- has no equivalent builtin command.
- .version
- 1.0
- .date
- .author
- Fred Fish
- .restrictions
- .requirements
- .reference
- .keywords
- .distribution
- Public Domain
- .price
- .address
- .email
- .phone
- .fax
- .exectype
- .installsize
- .source
- Includes source in C.
- .construction
- .tested
- .docs
- .described-by
- Fred Fish (fnf@fishpond.cygnus.com)
- .submittal
- Submitted electronically directly by the author.
- .execute
- set choice `RequestChoice "True/False" "Please select an option" "View Source" "Cancel"`
- if $choice EQ "0"
- quit 5
- endif
-
- if $choice EQ "1"
- set filechoice `RequestFile TITLE "Select File" PATTERN="(#?.c|#?.h)"`
- set dirchoice `pathname $filechoice`
- set filechoice `basename $filechoice`
- failat 21
- cd $dirchoice
- MetaTool $filechoice TEXT
- endif
- .aminet-dir
- util/misc
-