Branch - branch -master
Hash : cd3750a4 Author : Thomas de Grivel Date : 2021-02-14T10:13:06
Download
1 2 3 4 5 6 7 8 9 10
#!/bin/sh X="$1" SIMPLE="$(echo "$X" | grep -E '^[-+/=.,:^_0-9A-Za-z]*$')" if [ "$X" = "$SIMPLE" ]; then echo "$X" else echo -n '"' echo -n "$X" | sed -e 's/\([$`\"]\)/\\\1/g' echo '"' fi