Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!cs326ag From: cs326ag@ux1.cso.uiuc.edu (Loren J. Rittle) Newsgroups: comp.sys.amiga.misc Subject: Re: A3000 questions and comments Message-ID: <1991Feb19.235314.804@ux1.cso.uiuc.edu> Date: 19 Feb 91 23:53:14 GMT References: <21104@know.pws.bull.com> <19126@cbmvax.commodore.com> Organization: University of Illinois at Urbana Lines: 27 Dave, > >3. Why doesn't the "list" command have a sort option (like the "dir" > >command)? > > Ideally, you should just be able to pipe list into sort. I tried this > under 1.3, which in WShell would just be "list | sort", but it didn't work. > Sort requires both input and output files to be named; it doesn't default > to stdin and stdout. Hopefully the 2.0 version does. Ahh, the problem is that you are still using the C= sort (Hi Dave :-)! I can do `list | sort' (er, `ls -1 | sort') from the WShell. I don't for the reason you sight, namely ls has that option builtin. You could get a real version of sort (In this case, a real version is one that acts as a filter, of course... :-). Hate to say it, but quite a few of the standard C= commands have problems acting in filter mode. I dumped them a long time ago... More (on 1.3 and before at least) can't even be used in filter mode! I use a locally hacked version of less (mine does not open unnecessary windows). Loren J. Rittle -- ``NewTek stated that the Toaster *would not* be made to directly support the Mac, at this point Sculley stormed out of the booth...'' -A scene at the recent MacExpo. Gee, you wouldn't think that an Apple Exec would be so worried about one little Amiga Device... Loren J. Rittle l-rittle@uiuc.edu