local buff = "" for line in io.lines() do buff = buff .. line .. "\n" end --]]
---[[ local t = {} for line in io.lines() do t[#t + 1] = line end t[#t+1] = "" -- 最後の最後に改行をすばやくconcatで付けるため、ダミーの空文字を最後に付け足す。 s = table.concat(t, "\n") --]]