Sigh...does this work or not?

This commit is contained in:
niten 2023-10-07 13:29:06 -07:00
parent bf4a77fcd8
commit 12cf9bfeee
1 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,10 @@
with lib;
let
removeBlankLines = str:
concatStringsSep "\n\n"
(filter isString (builtins.split "[\\n][\\n]+" str));
concatStringsSep "\n\n" (filter isString (builtins.split ''
+'' str));
joinLines = concatStringsSep "\n";