I tried lot of ways to match a string but my if statement don't work. I want to test if the first parameter is equal to his reverse.
For example if [ $1 = "something" ] may work but i don't know how to do it if i'm using my reverse variable
 #!/bin/bash
 echo "la string en parametre" ${1}
 reverse= echo -n $1 | rev
 if [[ $1=reverse ]]; then
 echo "est pas un palindrome"
 else
 echo "est un palindrome"
 fi
 
    