@v1cont, first of all, thank you very much for your ongoing work on YAD. It’s an excellent and powerful tool that greatly enhances shell scripting productivity.
Description
I’ve noticed that YAD adds an extra field separator (|) at the end of each line in the output of list or checklist dialogs.
While this is not exactly a bug, it can make output parsing more cumbersome, as it requires trimming the last separator from each line.
For example:
$ yad --list --checklist --column="Select" --column="Option" -- TRUE "Opt1" TRUE "Opt2"
Current output:
Expected (or ideal) output:
Rationale
It would be preferable if YAD did not insert the trailing separator after the last column.
This would make parsing easier in shell scripts and align the behavior with Zenity, allowing YAD and Zenity to be used interchangeably in the same scripts.
For reference, you can see how I use YAD and Zenity interchangeably in my scripts here:
https://github.com/cfgnunes/fm-scripts
Suggestion
If possible, it might be good to adjust the list output logic so that the trailing separator is omitted, or optionally controlled by a parameter (e.g., --no-trailing-separator).
Thank you again for your time, dedication, and all your great work on YAD!
Best regards,
@v1cont, first of all, thank you very much for your ongoing work on YAD. It’s an excellent and powerful tool that greatly enhances shell scripting productivity.
Description
I’ve noticed that YAD adds an extra field separator (
|) at the end of each line in the output of list or checklist dialogs.While this is not exactly a bug, it can make output parsing more cumbersome, as it requires trimming the last separator from each line.
For example:
Current output:
Expected (or ideal) output:
Rationale
It would be preferable if YAD did not insert the trailing separator after the last column.
This would make parsing easier in shell scripts and align the behavior with Zenity, allowing YAD and Zenity to be used interchangeably in the same scripts.
For reference, you can see how I use YAD and Zenity interchangeably in my scripts here:
https://github.com/cfgnunes/fm-scripts
Suggestion
If possible, it might be good to adjust the list output logic so that the trailing separator is omitted, or optionally controlled by a parameter (e.g.,
--no-trailing-separator).Thank you again for your time, dedication, and all your great work on YAD!
Best regards,