"GOT", but the "O" is a cute, smiling sun Index | Thread

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: new gotd regression test: test_repo_write_empty
To:
gameoftrees@openbsd.org
Date:
Tue, 08 Nov 2022 19:09:46 +0100

Download raw body.

On 2022/11/08 18:36:39 +0100, Omar Polo <op@omarpolo.com> wrote:
> On 2022/11/07 21:40:11 +0100, Stefan Sperling <stsp@stsp.name> wrote:
> > +	grep '^+[^+]' < $testroot/repo-list.diff > $testroot/repo-list.newlines
> 
> no need to redirect stdin

Actually, IIRC the shell doesn't do word-expansion for the
redirections so <$testroot/blah/blah is safer than just $testroot.

(because $testroot could contain spaces; althought the got regress
suite will die very soon in that case anyway...)