From owner-freebsd-hackers Thu Aug 13 20:45:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA12547 for freebsd-hackers-outgoing; Thu, 13 Aug 1998 20:45:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [209.118.174.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12540 for ; Thu, 13 Aug 1998 20:45:07 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with SMTP id WAA01315; Thu, 13 Aug 1998 22:43:13 -0400 (EDT) Date: Thu, 13 Aug 1998 22:43:13 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@picnic.mat.net To: Chris Silva cc: hackers@FreeBSD.ORG Subject: Re: gdbm In-Reply-To: <000201bdc72e$084f9c20$0100000a@wildrock.interaccess.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 13 Aug 1998, Chris Silva wrote: > Hi, > How well does gdbm work? I am using TCL 7.6 and get a no command > found when doing a gdbm_open (I Think) gdbm is a library, but the error you mention, "no command found", is very often printed when executing a script. The first line of a script often has: #! if happens to be "sh" (for most shell scripts) then the line would be: #!/bin/sh For another example, perl scripts have: #!/usr/local/bin/perl You get the error if any part of the interpreter path is incorrect (if the startup code can't locate the interpreter to start it off). Tcl scripts are very prone to this, because there are so many different versions of tcl, and the name of the executeable, "wish", is renamed on some systems as "wish7.6", and tcl scripts that just have "wish" in them give the error you saw. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message