Thread: c:list
View Single Post
Old 10 November 2004, 04:54   #2
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 43
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
I'm 99% sure that there is no other way than either using a replacement tool, or than writing a small script, like this, for instance:

===
WORKAROUND:
===
Code:
.key arg
.bra {
.ket }
run >nil: list >PIPE:tmp{$$} {arg} nohead
sort PIPE:tmp{$$} to *
The above is for bog-standard OS 2.x/3.x and meant to be a workaround. A perfect solution is below!
But at least it also works on any OS >= 2.04+
Save it to a name of your choice (eg 'listit') and apply the script (s) bit so that it gets executed without 'execute':

Code:
protect listit s add
NOTE: this script still supports all list commands, so listit #?.lha will list all LHA archives!

This usenet post may also come in handy, unfortunately though, the mentioned List42_7 has been withdrawn from Aminet.

===
REAL SOLUTION:
===

Consider that the pipe handler shipped with OS 2.x/3.0/3.1 is not able to correctly pipe between commands, hence it may be regarded as 'partly broken'!
- Get working PIPE from Aminet (by Osma Ahvenlampi).
- Copy pipe to C:
- Make two S:shell-startup modifications as described in the docs of the new pipe handler (inside the *.lha) and reboot the Amiga.

And now do this simple line henceforth:

Code:
list #? | sort in: out:
WORKS!
You may as well try this on bog-standard OS 2.04 or 3.0/3.1 - it will NOT work! (Guaranteed! )

Last edited by andreas; 19 December 2004 at 09:44.
andreas is offline  
 
Page generated in 0.09558 seconds with 9 queries