POSIX Topics | Previous | Next
When you run the POSIX utilities, any parameters consisting of file names should be in the POSIX format; for example, if you want to display the file D:\Temp\Message.txt, in the COMMAND program, you might enter:
type d:\temp\message.txt
whereas in the sh program, you would enter:
cat //D/temp/message.txt
Drive letters (which must be capitalized) are preceded by two forward slashes, and folders are preceded by one forward slash. Case sensitivity is also important for POSIX file names; if you want to search all the C files in a FAT folder for the string "main", you need to enter the following:
grep main *.C
If "*.c" is entered instead, nothing would match in the FAT folder, due to the automatic uppercasing of file names on FAT file systems.