Merge branch 'release/0.2.1' into develop
feature start dived two function, new one is feature_core
function show_project_list(){

#project listを得る
    todo.sh lsprj > temp
    projects=`sed -e s/^+// temp`
    counter=1

    for project in ${projects}; do

        echo "${counter}..""${project}" >> temp_list
        ((counter +=1))

    done

#todoを表示する
    echo "----- project list ---------"
    cat temp_list
    echo ""

    echo -n "Select project --> "
    read SELECT

#number check!

    TARGET=`grep ^${SELECT} temp_list | sed -e s/^[0-9]..//`

    echo -n "--- ${TARGET} ---"
    echo ""
    grep ${TARGET} ${TODOFILE} | sed -e s/.+${TARGET}// > temp_list

    count=1
    titile={}

    while read LINE; do
        titile[${count}]=`echo ${LINE}|cut -d " " -f1`
        echo "${count}. ""${LINE}"
        ((count += 1))

    done < temp_list

    echo -n "feature/start (exit type: q)"
    echo ""
    echo -n "Select Item  --> "
    read SELECT_2

#number check!

    branchName=${titile[${SELECT_2}]}

    rm temp temp_list

    echo "$branchName"

    feature_core

}
function show_project_list(){

#project listを得る
    todo.sh lsprj > temp
    projects=`sed -e s/^+// temp`
    counter=1

    for project in ${projects}; do

        echo "${counter}..""${project}" >> temp_list
        ((counter +=1))

    done

#todoを表示する
    echo "----- project list ---------"
    cat temp_list
    echo ""

    echo -n "Select project --> "
    read SELECT

#number check!

    TARGET=`grep ^${SELECT} temp_list | sed -e s/^[0-9]..//`

    echo -n "--- ${TARGET} ---"
    echo ""
    grep ${TARGET} ${TODOFILE} | sed -e s/.+${TARGET}// > temp_list

    count=1
    titile={}

    while read LINE; do
        titile[${count}]=`echo ${LINE}|cut -d " " -f1`
        echo "${count}. ""${LINE}"
        ((count += 1))

    done < temp_list

    echo -n "feature/start (exit type: q)"
    echo ""
    echo -n "Select Item  --> "
    read SELECT_2

#number check!

    branchName=${titile[${SELECT_2}]}
#    echo "$branchName"

    numner=`grep -n ^${branchName} ${TODOFILE}| cut -d ":" -f1`

#不要な一時ファイルを削除
    rm temp temp_list

    feature_core

}
all most done
	modified:   todo_git.sh
function error_check change; simply, reture 110

    error_check
    if [ $? -eq 110 ]; then
        rm temp temp_list
        exit 0
    fi
error check modified
#non-projectを選択した場合
    if [ ${SELECT} -eq 0 ]; then
        grep -v "\s\+.*" ${TODOFILE}
        echo "HEEW"
        exit 1

    fi
if [ ${SELECT} -eq 0 ]; then
        echo -n "--- non-project ---"
        grep -v "\s\+.*" ${TODOFILE} >> temp_list

    else

        TARGET=`grep ^${SELECT} temp_list | sed -e s/^[0-9]..//`

        echo -n "--- project: ${TARGET} ---"
        echo ""
        grep ${TARGET} ${TODOFILE} | sed -e s/.+${TARGET}// > temp_list

    fi
#non-projectを選択した場合
    if [ ${SELECT} -eq 0 ]; then
        echo "--- non-project --- "
        grep -v '\+.*' ${TODOFILE} > temp-todo-git_list
temp file name changed
almost done
Merge branch 'feature/new-list-sys' into develop
function error_check(){

    if expr ${number} : '[0-9]*' >/dev/null; then

        [ ${number} -eq 0 ] &&  return 119

        #error treatment: if it is out of range number.
        errorCheck=`expr $count - 1`
        if [ ${errorCheck} -lt ${number} ]; then
            echo "error:number is not exist"
            return 110
        fi

    else
        echo "数値以外です"
        return 110

    fi

}
remove comment and so on
Merge branch 'release/0.3'