rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Carlo Strozzi <carlos@linux.it>
To: rc@hawkwind.utcs.utoronto.ca
Subject: path oddity
Date: Wed, 3 May 2000 13:07:52 -0400	[thread overview]
Message-ID: <20000503190752.B16405@tango.iol.it> (raw)

Hi all,
I am running Rc 1.5b2 on a Debian GNU/Linux box. I am using
rc as a login shell (flag -l), and my $path variable is:

/usr/local/bin /usr/bin /bin /usr/X11R6/bin /opt/bin /home/carlos/bin /usr/bin/mh /usr/local/bin/mh

Rc seems not to be able to find any commands in the last path token, 
i.e. /usr/local/bin/mh in this case. Whatever I put last, commands
in it are not found (command not found message). As a work-around
I have now set a bogus last token, i.e.:

/usr/local/bin /usr/bin /bin /usr/X11R6/bin /opt/bin /home/carlos/bin /usr/bin/mh /usr/local/bin/mh /end-of-path

and it works fine, in that commands in /usr/local/bin/mh are now
found correctly. Sounds like a bug to me :-)

bye  -carlo
-- 
I can read MIME or uuencoded e-mail attachments in PDF, Postscript, HTML,
RTF or text formats. Please do not send Word or Excel files. 


             reply	other threads:[~2000-05-04  7:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-03 17:07 Carlo Strozzi [this message]
2000-05-03 17:12 Carlo Strozzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000503190752.B16405@tango.iol.it \
    --to=carlos@linux.it \
    --cc=carlos@texne.com \
    --cc=rc@hawkwind.utcs.utoronto.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).