Re: Newline Character Missing in Memory Variable
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <CAEE75_07qXAYA45FPPgi-1FrrV0abJAoRaWsaBH-Q=3K6qMykg@mail.gmail.com> |
The shell splits unquoted variable substitutions into arguments at whitespace (controlled by the IFS variable, you can use anything else you want), and `echo` echoes its arguments separated by spaces. Either set IFS empty or quote your substitutions. [Non-text portions of this message have been removed]