[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18827: [Feature request] no CR for yes
From: |
Pádraig Brady |
Subject: |
bug#18827: [Feature request] no CR for yes |
Date: |
Sat, 25 Oct 2014 18:59:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 10/25/2014 03:53 PM, George Shuklin wrote:
> Yes is very nice to generate large repeating patterns, but it always adds
> \n at the end. It's OK for the string data but sometimes mess with binary.
>
> Any way to disable it will be really appreciated. F.e. -n key (like for
> 'echo'), or any other.
Does this suffice?
yes whatever | tr -d '\n'