Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!uupsi!cci632!ritcsh!ultb!waw5805 From: waw5805@isc.rit.edu (W.A. Willis ) Newsgroups: comp.sys.amiga.misc Subject: Re: Making AB20's FILES.Z more usable (UNIX'ers please read) Keywords: UNIX AB20 FTP Message-ID: <1991Apr25.143317.27542@isc.rit.edu> Date: 25 Apr 91 14:33:17 GMT References: Organization: Rochester Institute of Technology Lines: 18 In article amuser@cutmcvax.cs.curtin.edu.au (Bill Sharp-Smith AUG) writes: >To save time trying to find files in AB20, could some UNIX programmer >come up with a shell script that takes the FILES file and processes it. >I would like a script that strips out all files uploaded before 1/1/91. > >However, more complex ones could produce lists of all files containing >the letters xyz in their filename, sort them in directory order, remove >all non-Amiga files etc. etc.... Who can come up with the best one ? > >Thanks... >Amiga Users Group of Western Australia I know that this isn't what you're looking for but I have the following alias set up that does the pattern maching... alias sab20 "zcat ~/.FILES | fgrep -i" I can do a "sab20 filename" to search for filename in .FILES.Z