filter and format lua func

This commit is contained in:
2025-01-18 21:11:39 +01:00
parent 753944ac9c
commit 4c05853c0d
2 changed files with 36 additions and 4 deletions

View File

@ -1,3 +1,7 @@
function filter (line)
return line:find("Unknown kernel command line parameters") == nil
end
function format (line)
return line:gsub(" ", "\n");
return line:match("\"([^\"]+)\"")
end