import fs from 'fs'
import path from 'path'
import os from 'os'

const raw = path.join(os.tmpdir(), 'gis-doc-raw.xml')
let x = fs.readFileSync(raw, 'utf8')
x = x.replace(/<\/w:p>/g, '\n').replace(/<[^>]+>/g, '')
x = x.replace(/\n{2,}/g, '\n')
process.stdout.write(x)
