Saturday, 14 September 2013

while checking account number is numeric or no it is giving Syntax error. any one please help me

while checking account number is numeric or no it is giving Syntax error.
any one please help me

if[[ ${accoun_num} =~ ^[0-9]+$ ]]
while checking account number is numeric or no it is giving Syntax error.
any one please help me
Actually in my code I have space. the original code is look like below
if [[ ${account_nr} =~ ^[0-9]+$ && ${from_account_nr} =~ ^[0-9]+$ ]]

No comments:

Post a Comment