fork(1) download
  1. local s = [[Available configure presets:
  2.  
  3.   "x64-debug" - x64 Debug
  4.   "x64-release" - x64 Release
  5.   "x86-debug" - x86 Debug
  6.   "x86-release" - x86 Release]]
  7.  
  8. for word1,word2 in string.gmatch(s .. string.char(10), [["(.-)"%s+-%s(.-)]] .. string.char(10)) do
  9. print(word1 .. " <> " .. word2)
  10. end
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
x64-debug <> x64 Debug
x64-release <> x64 Release
x86-debug <> x86 Debug
x86-release <> x86 Release