   for k, v of b
     a[k] ?= 0
     a[k] += v
-
 
 module.exports =
 

  'html'
]

pad = (num) ->
  num = '' + num
  while num.length < 4 then num = ' ' + num
  ' ' + num

addAttrs = (sfx, aIn, b) ->

          add err.message

        ).on("done", ->
          add '\nGenerated by the Atom Editor package Line-Count.'
          add '\nResults for directory ' + rootDirPath + '.'
          add 'Counts are in order of source, comments, and total.'

          printSection 'Files', files
          printSection 'Types', typeData
          printSection 'Total', total

          editor.setText text

