ssss Posted September 22, 2014 Share Posted September 22, 2014 [root@192 sss]# expr 2 <= 3 expr: syntax error [root@192 sss]# expr 1 <= 2 bash: =: No such file or directory Link to comment Share on other sites More sharing options...
ssss Posted September 22, 2014 Author Share Posted September 22, 2014 ასეთ სისულელეებს მიწერს Link to comment Share on other sites More sharing options...
მათე Posted September 22, 2014 Share Posted September 22, 2014 რა გინდა რო გააკეთო? თუ არაფერს არ აკეთებ და მისით წერს მაგას? Link to comment Share on other sites More sharing options...
ssss Posted September 22, 2014 Author Share Posted September 22, 2014 როდესაც ვეუბნები რომ ეს მაგალითად 1 = 1 მაძლევს შედეგს და როცა ვეუბნები რომ მაგალითად x ტოლია ან ნაკლებია y ზეთქო syntax error ს მიწერს [root@192 sss]# expr 1 == 1 1 [root@192 sss]# expr 1 != 2 1 [root@192 sss]# expr 1 <= 2 expr: syntax error [root@192 sss]# expr 1 + 2 3 ეს არის მანუალი ეხპრს DESCRIPTION --help display this help and exit --version output version information and exit Print the value of EXPRESSION to standard output. A blank line below separates increasing precedence groups. EXPRESSION may be: ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2 ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0 ARG1 < ARG2 ARG1 is less than ARG2 ARG1 <= ARG2 ARG1 is less than or equal to ARG2 ARG1 = ARG2 ARG1 is equal to ARG2 ARG1 != ARG2 ARG1 is unequal to ARG2 ARG1 >= ARG2 ARG1 is greater than or equal to ARG2 ARG1 > ARG2 ARG1 is greater than ARG2 ARG1 + ARG2 Link to comment Share on other sites More sharing options...
ssss Posted September 22, 2014 Author Share Posted September 22, 2014 ასე ყოფილა expr x <= y Link to comment Share on other sites More sharing options...
Recommended Posts