On Fri, 21 Mar 2008 17:33:51 +0100, Hans-Bernhard Bröker
>> src/genopt.com is hightlighted on my system as being executable but
>> isn't so
>> listed using "ls".
> That's between you and your system configuration to discuss ---
> highlighting is a configurable feature of 'ls'.
>> Perhaps the "com" extension is some old standard for executable files?
> It's old, but still used. *.com is the original type of executables in
> MS-DOS --- *.exe came later.
This is a result of "everyone" wanting Linux to behave just like windows.
Any behaviour relating to "file extentions" which have no native meaning
to a unix/linux system are EVIL. This sort of crap must die.
Looking at the header at the begining of the file rather than guessing
substrings in the file name would reveal the real nature of the file. An
MS .com executable has code and data in the same segment and a specific
header. They are generally small utility programs like command.com
Soon we'll have having our WM desktops hiding known extensions , *.jpg.exe
files and wine setup to run them on a double click.
Linux works because it's different , let's keep it that way.
You may want to ask how far this sort of behaviour goes on your config.
What distro out of interest?