Bonjour

J'essaie de cr�er un �l�ment de menu dans wmaker, avec la commande
suivante :
Xdialog --infobox "Derni�re connection � : $(awk '{print $(5)}' 
        < /home/arnaud/docs/com/connexions.log | tail -n 1 | cut -c 1,2,3,4,5),
        il y a $[($(date +%s) - $(cat /tmp/cnx | sed -n '7p'))/60]
        minutes" 8 45 2000
Dans un rxvt, �a marche bien, mais dans un menu wmaker, le r�sultat est
faux.
Mon fichier connexions.log ressemble � �a :
Connexion    D�but          �             Fin           �          Dur�e
Wanadoo      15/06/2000  14:20:04   15/06/2000  14:21:30   00:01:02
(normalement, ce sont des tabs pour s�parer les champs...)

Y a-t-il des wmakeristes confirm�s dans la salle ?
Serait-ce une limitation ?
Sur tty1, j'ai ce message d'erreur :
date: option non reconnue '--title'
Je le rappelle, �a marche tr�s bien dans un rxvt...

-- 
Arnaud Calvo
[EMAIL PROTECTED]         http://www.libranet.com/petition.html
49240 Avrill�                           http://www.marseillaise2000.com
--
Le 24/06, 2� Anjou Linux Party : http://www.info.univ-angers.fr/ALP

Répondre à