// 監査ログ.xls CSV変換スクリプト
@Grab('org.apache.poi:poi-ooxml:3.7')
import org.apache.poi.ss.usermodel.WorkbookFactory

def inputFile = new File(arg[0])
def cell = { col, row ->
	sheet.getRow(row)?.getCell((short)col)
}

def list = []
for(int i in 1..65535) {
	if(!cell(0, 1)?.stringCellValue) break;

	variable = [:]
	variable.username = cel(0, i)
	variable.pcname = cel(1, i)
}

