Ivan Van Laningham ivanlan at
Wed Apr 12 21:40:13 CEST 2000

Hi Jeff, All--

Jeff Bauer wrote:
> Ivan Van Laningham wrote:
> > Sh scripts do work, as long as I remember to do ./script ;-).  I'm
> > running as root (but the same thing happens when I run as myself, too).
> Okay, my last post to you went out before I saw the above
> on
> Is there an issue with your PATH environ?
> $
> bash: command not found
> $ echo $PATH
> /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/jbauer/bin:\
> /usr/local/mysql/bin:/usr/local/jdk/bin:/var/share/s0/bin
> $ export PATH=.:$PATH
> $
> Hello, nerd.
> Note that it's probably dangerous to use '.' in your root path.

Yup, of course.

The problem turned out to be two things:  the "h2n" command had not
after all been changed to unix line endings, which made it not work
unless the interpreter was explicitly invoked on it; and forgetting to
/ instead of  Even though I had *just* ./ 5
seconds before, I forgot on  Bleaugh.

Sorry to waste bandwidth.

<craft>ly y'rs,
Ivan Van Laningham
Callware Technologies, Inc.
Army Signal Corps:  Cu Chi, Class of '70
Author:  Teach Yourself Python in 24 Hours

More information about the Python-list mailing list