https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239561

            Bug ID: 239561
           Summary: sysrc prints incorrect values for variables with
                    trailing newlines
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: 0...@freebsd.org

The problem is that running `sysrc -f file var` where file contents are:

```
var1="val
"
var2=val
```

results in

```
var1: val
var2: val
```

being printed. Instead, the output should be:

```
var1: val

var2: val
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to