1 |
J'ai trouver ces lignes dans les pages man de dialog |
2 |
|
3 |
--separate-output |
4 |
For checklist widgets, output result one line at a time, with no |
5 |
quoting. This facilitates parsing by another program. |
6 |
|
7 |
--separator string |
8 |
|
9 |
--separate-widget string |
10 |
Specify a string that will separate the output on standard error |
11 |
from each widget. This is used to simplify parsing the result |
12 |
of a dialog with several widgets. If this option is not given, |
13 |
the default separator string is a tab character. |
14 |
|
15 |
|
16 |
J'ai un formulaire du type |
17 |
|
18 |
dialog \ |
19 |
--separate-widget "|"\ |
20 |
--backtitle "TITLE"\ |
21 |
--title "TITLE2"\ |
22 |
--form "Informations" 10 0 0\ |
23 |
"Nom" 2 2 "" 2 10 26 25\ |
24 |
"Prénom" 4 2 "" 4 10 26 25\ |
25 |
"Adresse" 6 2 "" 6 10 26 50\ |
26 |
"Né le (jjmmaaaa)" 8 2 "" 8 26 10 30 2>/tmp/.mc2-$$ |
27 |
|
28 |
|
29 |
mon problème : la définition d'un caractère de séparation des valeurs |
30 |
retournées ne fonctionne pas. ;( ce qui me sera utile pour le parser |
31 |
avec un autre programme :: toutes les valeurs sont retournées avec un |
32 |
espace comme séparateur (caractère qui est une forte probabilité de se |
33 |
trouvé dans les champs saisie par l'utilisateur) |
34 |
|
35 |
Merci d'@vance. |
36 |
|
37 |
|
38 |
-- |
39 |
gentoo-user-fr@g.o mailing list |