Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
27 user(s) are online (25 user(s) are browsing Forum)

Members: 0
Guests: 27

more...


Browsing this Thread:   1 Anonymous Users






Re: "c:version" always check files in $PATH instead of current path or specified one
#2
Home away from home
Home away from home


See User information
@LukeJerry

It has nothing to do with the command path. What happens is that version by default always checks first if a library, device or command by that name is already loaded in memory and uses that if that is the case.

If you want to force C:version to check a file on disk you should use the "FILE" switch.

version file t:update/devs/fat.handler

Posted on: 2013/1/31 13:21
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


"c:version" always check files in $PATH instead of current path or specified one
#1
Home away from home
Home away from home


See User information
Hi,

updating the new fat.handler I grabbed a screenshot showing an odd behaviour of c:version command.

Seems that if the argument of 'version' is found in the PATH variable, the current path or any specified paths are ignored.

See attached screenshot.

Is this a bug? limitation? feature?

I'm used to check version of files with 'strings $filename | grep VER', but maybe our version could be improved/fixed?


Thx - Cheers

- LuKe

Attach file:



jpg  (0.00 KB)


Posted on: 2013/1/31 11:44
"I'm told they let DiskDoctor decide its own fate. They put the sources on a floppy, then ran DiskDoctor on it. The floppy was trashed, so was DiskDoctor." --Dave Haynie
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project