Structure super simple if qui bug ...pkoi????
Bonjour,
voici la structure qui marchia parfaitement......
#!/bin/bash
if [ *\.xsd = $2 ]
then
echo "la morte ti fa bella"
fi
voice ce que j'obtien.....
[root@localhost projet]# sh if test.xml test.xsd
if: line 3: [: too many arguments
pourquoi??????
merci de l'aide.
voici la structure qui marchia parfaitement......
#!/bin/bash
if [ *\.xsd = $2 ]
then
echo "la morte ti fa bella"
fi
voice ce que j'obtien.....
[root@localhost projet]# sh if test.xml test.xsd
if: line 3: [: too many arguments
pourquoi??????
merci de l'aide.
Configuration: Linux Mandriva Firefox 2.0.0.6