Untitled
unknown
sh
3 years ago
225 B
5
Indexable
#!/bin/bash if [ $# -lt 1 ]; then echo Usage : $0 phrase exit -1 fi phrase=$(echo $* | tr -d ' ') inverse=$(echo $phrase | rev) if [ $inverse == $phrase ]; then echo OUI else echo NON fi
Editor is loading...