Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2018 16:34:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228299] usr.sbin/sysrc: Specifying multiple -f flags does not yield result for every specified flags
Message-ID:  <bug-228299-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 228299
           Summary: usr.sbin/sysrc: Specifying multiple -f flags does not
                    yield result for every specified flags
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: 0mp@FreeBSD.org
             Flags: maintainer-feedback?

Here's a script to reproduce this issue:

> directory=3D"$(mktemp -d)"
> echo 'A=3Dx' > "$directory/x.txt"
> echo 'A=3Dy' > "$directory/y.txt"
> echo "Actual result of \"sysrc -n -f \"$directory/x.txt\" -f \"$directory=
/y.txt\" A\":"
> sysrc -n -f "$directory/x.txt" -f "$directory/y.txt" A
> echo Expected:
> echo x
> echo y

--=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-228299-227>