[Bug 197499] wc libxo emits invalid JSON when used on multiple files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 11 05:17:05 UTC 2015


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

--- Comment #6 from Allan Jude <allanjude at FreeBSD.org> ---
(In reply to Marcel Moolenaar from comment #5)

My results are different:
# uname -a
FreeBSD Nexus.HML3.ScaleEngine.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0
r276776: Wed Jan  7 16:16:14 UTC 2015    
root at Nexus.HML3.ScaleEngine.net:/usr/obj/usr/src/sys/NEXUS  amd64


# wc --libxo json,pretty /etc/defaults/*
{
  "wc": {
    "file": [
      {
        "lines": 111,
        "words": 644,
        "characters": 3999,
        "filename": "/etc/defaults/bluetooth.device.conf"
      },
      {
        "lines": 87,
        "words": 403,
        "characters": 2439,
        "filename": "/etc/defaults/devfs.rules"
      },
      {
        "lines": 385,
        "words": 1228,
        "characters": 11700,
        "filename": "/etc/defaults/periodic.conf"
      },
      {
        "lines": 692,
        "words": 4576,
        "characters": 36171,
        "filename": "/etc/defaults/rc.conf"
      },
      "total": {
        "lines": 1275,
        "words": 6851,
        "characters": 54309,
        "filename": "total"
      }
    ]
  }
}


Let me try a newer build

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


More information about the freebsd-bugs mailing list