Answer the question
In order to leave comments, you need to log in
Dialog output problem. How to use checklist?
I make a bike for myself. Arch linux installation automation. I use the dialog utility.
I want to get a menu with multiple choice, for which I use the --checklist parameter.
what needs to be output resulted in the form
en_US.UTF-8 UTF-8 ON \
en_AU.UTF-8 UTF-8 OFF \
and saved it to a temporary file. I'm trying to output in the form
LOCALE="$(dialog --checklist 18 60 11 ${tempYYY.tmp} )"
and I'm getting an error about the number of tags or the number of parameters..
Thanks in advance
Answer the question
In order to leave comments, you need to log in
Start making your own project that has some practical value and learn what you need as you build it.
In order not to have porridge, it is advisable to read a book, while those topics that you know can be viewed diagonally.
If you use smart pointers(make_shared, make_unique, etc.), move semantics( std::move, etc.) and write templates when needed(template ... - sometimes the speed of work increases several times, which is very it's a shame without templates), you can write multithreading and know how to use SIMD, then you can say that you have a pretty good knowledge of C ++. Of course, there are a lot of subtleties left, like the exceptions flying out at runtime at the moment when you don’t expect it, but this comes with experience.
I advise you to look at the source code in C ++, which is written in Yandex or Google and trending .
If something is not clear in the source code, then this is what should be tightened up.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question