Re: Git/fs: Possibly Usable

Ori Bernstein <[email protected]>
Newsgroups gmane.os.plan9.general
Message-ID <[email protected]>
On Mon, 5 Aug 2019 11:43:33 -0700, Skip Tavakkolian <[email protected]> wrote:

> is this an equivalent fix for 9legacy env?  (i'm guessing the answer is no)
> 
> % diff clone /bin/git/clone
> 75c75
> < for(f in `$nl{walk -f $tree | sed 's@^'$tree'/*@@'}){
> ---
> > for(f in `{ifs=$nl walk -f $tree | sed 's@^'$tree'/*@@'}){
> 

You can also set ifs outside of the `{...}.

However, I think it's worth importing the 9atom change into 9legacy
rc. It's an elegant solution.

-- 
    Ori Bernstein
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.