My version is 1.22 and only 8KB. Your version is 1.26 and 146KB.
Is there a newer package out there? Mine is what came with OS4.1FE.
Not specifying the entire path, just the name, works. But that will cause problems if there is more than one file with the same name, but in different drawers. Your example extracted two files with the same name.
Not good enough for me.
Workbench Explorer - A better way to browse drawers
Probably because most users are lazy, extract everything to ram, get the file they want and delete the rest, which can all be done with a mouse so they don't have to get their hands dirty in a shell.
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester
In the header line, the Size and CrndSize fields have been increased from 8 to 9 each. (I would increase them to 10). This is fine, but not for when you are parsing the output.
v1.22
Size CrndSize Ratio
19437 2636 86.5%
v1.26
Size CrndSize Ratio
19437 2636 86.5%
It should be:
Size CrndSize Ratio
19437 2636 86.5%
CrndSize back 1 space.
10 places
Size CrndSize Ratio
1234567890 1234567890 86.5%
It may seem menial at this time, but it is very critical.
Workbench Explorer - A better way to browse drawers
1. Perhaps you should make your parsing code more robust so it can deal with arbitrary white space? Otherwise you will be stuck relying on specific versions being installed, and you just know some user is going mess that up, they have knack for that sort of thing
2. or maybe even be using xadmaster direct rather than via a command line tool, that being the whole point of xadmaster to not need command line tools?
I'm a bit uncertainly of xadmasters status, isn't it open source?
I would rather use the xadmaster.library and do things internally. But I haven't found a good source code example on what to do. The only example I have is terribly written and makes little sense. I was PMing with a guy on OS4Coding and he said the same thing.
My current parser accommodates for any length of text/data. It will work with any version just as long as the columns line up consistently.
Workbench Explorer - A better way to browse drawers