All pastes #550520 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-08 13:17 UTC
rendered paste body
    I would like to add to more test elements

1.  there must be at least one Upper Case character
2.  there are no no single one character space separated items

examples:
1=hello world = bad
1=Hello w = bad
1=Hello World = good 

    if [[ $1 = *\ * ]] && [[ ! $1 = *@* ]] && [[ ! $1 = *=* ]]
    then
        echo 1
    fi