|
From: | PePa |
Subject: | Trailing newlines disappear |
Date: | Fri, 9 Jun 2017 00:38:19 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
I would think this is a bug: 4.3.48(1)-release> printf "q\n\n\n" >w 4.3.48(1)-release> cat w q 4.3.48(1)-release> printf "$(cat w)" q 4.3.48(1)-release> Is there some workaround to somehow preserve the trailing newlines? Peter
[Prev in Thread] | Current Thread | [Next in Thread] |