Untitled
unknown
sh
4 years ago
180 B
7
Indexable
#!/bin/bash
if [ $# -lt 1 ]; then
echo Usage : $0 chaine
exit -1
fi
inverse=$(echo $1 | rev)
if [ $1 == $inverse ]; then
echo OUI
else
echo NON
fi
Editor is loading...