Path: utzoo!utgpu!watserv1!watmath!uunet!samsung!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!news From: roy@alanine.phri.nyu.edu (Roy Smith) Newsgroups: bionet.molbio.genbank Subject: Sorting order in .idx files Message-ID: <1990Aug30.170917.26314@phri.nyu.edu> Date: 30 Aug 90 17:09:17 GMT Sender: news@phri.nyu.edu (News System) Organization: Public Health Research Institute, New York City Lines: 11 How are the .idx files on GenBank tapes sorted? More specifically, if I want to do a keyword binary search through the .idx files, and I use the standard Unix strcmp(3) routine for comparing my key with the keys from the file, will I be guaranteed to get the same sorting order as was used to prepare the files? -- Roy Smith, Public Health Research Institute 455 First Avenue, New York, NY 10016 roy@alanine.phri.nyu.edu -OR- {att,cmcl2,rutgers,hombre}!phri!roy "Arcane? Did you say arcane? It wouldn't be Unix if it wasn't arcane!"