9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] $ifs equivalent in mk?
Date: Thu, 12 Jun 2014 13:57:39 +0200	[thread overview]
Message-ID: <2285126.xVKzqVMdiJ@coil> (raw)
In-Reply-To: <1c885de8847733dc93beb9c102f2541d@brasstown.quanstro.net>

On Thursday 12 of June 2014 07:41:51 erik quanstrom wrote:
> 
> i was demoing a technique that you might use.  have you tried it?
> 


thanks, tried and works.


used sed for quoting; end result is perl-ugly:

alljs=`{find -name '*.js' | 9 sed 's/''/''''/g; s/^|$/''/g' }
or
alljs=`{find -name '*.js' | 9 sed 's/^|$|''/&''/g' }


-- 
dexen deVries

[[[↓][→]]]




  reply	other threads:[~2014-06-12 11:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 11:05 dexen deVries
2014-06-12 11:27 ` erik quanstrom
2014-06-12 11:39   ` dexen deVries
2014-06-12 11:41     ` erik quanstrom
2014-06-12 11:57       ` dexen deVries [this message]
2014-06-12 11:59         ` erik quanstrom
2014-06-12 12:06           ` dexen deVries

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=2285126.xVKzqVMdiJ@coil \
    --to=dexen.devries@gmail.com \
    --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).