Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 12:58:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230507] sed 'q' command preventing -i from creating backup
Message-ID:  <bug-230507-227-QvoXbSU8tb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230507-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230507-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230507

--- Comment #1 from Tim Chase <freebsd@tim.thechases.com> ---
I've reduced the test-case to just the `q` and it still works:

    $ sed 2q a
    1
    2
    $ sed -i.bak 2q a

This leaves `a` unmodified, without creating a .bak file.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230507-227-QvoXbSU8tb>