Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncar!tank!uxc.cso.uiuc.edu!csd4.milw.wisc.edu!marque!lakesys!martin From: martin@lakesys.UUCP (Martin Wiedmeyer) Newsgroups: comp.unix.questions Subject: Shell script Database Help Keywords: csh ksh database Message-ID: <928@lakesys.UUCP> Date: 5 Aug 89 03:09:25 GMT Organization: Lake Systems - Milwaukee, Wisconsin Lines: 22 I'm writing a database in shell script. I've encountered a number of problems, including how to change or delete particular records and searching for records by multiple criteria. The data is in single lines with tabs sepatating fields. I have tried a number of approaches to no avail. Can anyone drop me some code chunks or suggest some good books to help? Thanks. Marty BTW, How come grep $FOO $BASE|grep $BAR|grep $BAR1 doesn't return a 1 if it fails, it gives a 0 on success...... BASE=datafile FOO, BAR & BAR1=user supplied variables -- Marty Wiedmeyer martin@lakesys.lakesys.COM