lines/unlines and "inverse"