Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Jaypee
Le 27/08/03 23:42, dans , « Arthur VIGAN » a écrit :
Bonjour,
existe-t-il un moyen de convertir des entiers en binaire ou en hexagécimal dans le terminal (et réciproquement)?
Merci d'avance,
-- Arthur Bonjour,
Bc est un classique d'Unix :
[imac-jp:~] jpds% bc bc 1.05 Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. ibase; obase; 12 C 145 91 obase=2; 12 1100
Jean-Pierre
Le 27/08/03 23:42, dans slrnbkq9em.gt.arthur.divers@artysmac.local, « Arthur
VIGAN » <arthur.divers@wanadoo.fr> a écrit :
Bonjour,
existe-t-il un moyen de convertir des entiers en binaire ou en
hexagécimal dans le terminal (et réciproquement)?
Merci d'avance,
-- Arthur
Bonjour,
Bc est un classique d'Unix :
[imac-jp:~] jpds% bc
bc 1.05
Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
ibase;
obase;
12
C
145
91
obase=2;
12
1100
Le 27/08/03 23:42, dans , « Arthur VIGAN » a écrit :
Bonjour,
existe-t-il un moyen de convertir des entiers en binaire ou en hexagécimal dans le terminal (et réciproquement)?
Merci d'avance,
-- Arthur Bonjour,
Bc est un classique d'Unix :
[imac-jp:~] jpds% bc bc 1.05 Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. ibase; obase; 12 C 145 91 obase=2; 12 1100