9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: quanstro@quanstro.net (erik quanstrom)
Subject: [9fans] how can I set path
Date: Fri, 25 Mar 2011 08:27:45 -0400	[thread overview]
Message-ID: <a91021506be0258951a45ce3fb8fd58f@brasstown.quanstro.net> (raw)
In-Reply-To: <20110325121438.GA2542@fangle.proxima.alt.za>

> I read that as allowing the shell to run programs that the kernel would
> reject.  I eventually understood it to mean that you can hide programs
> where only the shell will find them.  Is the current directory one of
> those places, I wonder?  I'm reluctant to figure it out for myself -
> long day.

try this:

	cd $home/tmp
	cat > diff
	#!/bin/rc
	echo hi!
	<EOT>
	chmod a+x diff
	history -D $somefile
	diff $somefile `{yesterday $somefile}

- erik



  reply	other threads:[~2011-03-25 12:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25  4:18 流明
2011-03-25  4:23 ` Jacob Todd
2011-03-25 11:57 ` erik quanstrom
2011-03-25 12:14   ` Lucio De Re
2011-03-25 12:27     ` erik quanstrom [this message]
2011-03-25 13:53       ` roger peppe
2011-03-25 13:58         ` roger peppe
2011-03-25 15:42 ` Zhai
2011-03-25  4:33 流明
2011-03-25  4:36 ` John Floren
2011-03-25  4:40 Jacob Todd
2011-03-25  4:42 流明

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=a91021506be0258951a45ce3fb8fd58f@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    /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).