Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
function check_title_author #function to input title / author
{
    while [ "$Title" = "" ]
    do
          echo "Title : \c "
        read Title
    done

    while [ "$Author" = "" ]
    do
          echo "Author : \c "
        read Author    
    done
}
Posted

What shell is this, and where do you get the syntax error? Please try to be specific about your problem.
 
Share this answer
 
Forget to indicate, its shell programming using functions
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900