9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: BurnZeZ <brz-systemd-dev@intma.in>
To: 9fans@9fans.net
Subject: Re: [9fans] it's the small things ...
Date: Fri, 11 Oct 2013 12:24:10 -0400	[thread overview]
Message-ID: <01a58ea8984c98bee83e2bcadffbca70@neinchan.znet> (raw)
In-Reply-To: <6cb27c92e67898615b96bc61cf6ab1b9@coraid.com>

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

It's funny how small tricks like that can make things so much easier.
Here's a script to compare your $home/lib/profile with those in
sources.  I'm always finding cool tricks doing this.
It writes to /tmp/lsr, so I hope it's nothing important. ◔ ◡ ◔

[-- Attachment #2: cmpprof --]
[-- Type: text/plain, Size: 205 bytes --]

#!/bin/rc -e
rfork n
9fs sources
cd /n/sources
if(! test -s /tmp/lsr)
	fcp lsr /tmp/lsr
acme $home/lib/profile <{awk '{print $1}' /tmp/lsr | grep '^\./contrib.*/profile$' | sed 's/^\./\/n\/sources/'}

  reply	other threads:[~2013-10-11 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-10 18:10 erik quanstrom
2013-10-11 16:24 ` BurnZeZ [this message]
2013-10-11 17:01   ` Matthew Veety

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=01a58ea8984c98bee83e2bcadffbca70@neinchan.znet \
    --to=brz-systemd-dev@intma.in \
    --cc=9fans@9fans.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).