diff options
author | tdro <tdro@users.noreply.github.com> | 2020-11-20 02:19:16 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-11-20 02:19:16 -0500 |
commit | 7a8273b885c6df9365ee2dd26d6df4362a97dc3b (patch) | |
tree | 45fdf2ec964b080247596f2959be30ea1319a3aa /.local | |
parent | 1d7ed54def0cba08d56818f55094f7971bf49bf2 (diff) | |
download | dotfiles-7a8273b885c6df9365ee2dd26d6df4362a97dc3b.tar.gz dotfiles-7a8273b885c6df9365ee2dd26d6df4362a97dc3b.tar.bz2 dotfiles-7a8273b885c6df9365ee2dd26d6df4362a97dc3b.zip |
.local/bin/plumber: Use IO.binwrite
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/plumber | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/plumber b/.local/bin/plumber index 5d7b0bc..2263105 100755 --- a/.local/bin/plumber +++ b/.local/bin/plumber @@ -23,13 +23,13 @@ defmodule TextPlumber do def firstLetterOfWordsIn(text) do String.replace(text, ~r/(\w)\w*/, "\\1", global: true) |> String.replace(~r/\s\s+/, " ", global: true) - |> IO.puts() + |> IO.binwrite() end def singleLineOf(text) do String.replace(text, "\n", " ") |> String.replace(~r/\s\s+/, " ", global: true) - |> IO.puts() + |> IO.binwrite() end end |