FS#48819 - [dialog] lsblk and \n messup the output
Attached to Project:
Arch Linux
Opened by Amin (Gradiuss) - Tuesday, 05 April 2016, 15:01 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 27 June 2017, 07:41 GMT
Opened by Amin (Gradiuss) - Tuesday, 05 April 2016, 15:01 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 27 June 2017, 07:41 GMT
|
Details
Description:
Using lsblk command (not tested with others commands) with a \n and some text in an inputbox (not tested for others instructions) from dialog will messup the output of lsblk. Additional info: * package version(s) : Dialog (Version: 1.3-20160209), lsblk (util-linux 2.27.1) Steps to reproduce: [code]#!/bin/bash dialog --inputbox "$(lsblk)\n Choose a disk" 10 60[/code] |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Tuesday, 27 June 2017, 07:41 GMT
Reason for closing: Not a bug
Additional comments about closing: The '--cr-wrap' option seems to do what you want.
Tuesday, 27 June 2017, 07:41 GMT
Reason for closing: Not a bug
Additional comments about closing: The '--cr-wrap' option seems to do what you want.
Edit: oh, I see, it no longer interprets linebreaks correctly. It doesn't like you mixing two different methods of denoting linebreaks.