dsherret / dax

Cross-platform shell tools for Deno and Node.js inspired by zx.
MIT License
965 stars 33 forks source link

Path - `lines()`/`linesSync()` and `.linesIter()`/`linesIterSync()` #274

Open dsherret opened 1 month ago

dsherret commented 1 month ago

Gets all the lines excluding the last blank line (same as Rust's .lines() on a string https://doc.rust-lang.org/std/primitive.str.html#method.lines)