11
मैं uboot और TFTP कार्यक्रमों कीकैसे "if" और uboot में तुलना कथन बनाने के लिए?
में नौसिखिया पर this url आधारित कर रहा हूँ, वहाँ कैसे if
बयान इस if imi $addr; then echo Image OK; else echo Image corrupted!!; fi
की तरह बनाने के लिए है और यह मेरी "अगर":
=> setenv a true
=> printenv a
a=true
=> setenv b true
=> printenv b
b=true
=> if a b; then echo 'same';fi
Unknown command 'a' - try 'help'
=> if $a $b; then echo 'same';fi
Unknown command 'true' - try 'help'
=> if ${a} ${b}; then echo 'same';fi
Unknown command 'true' - try 'help'
=>
yup यह सही है ... मैंने कोशिश की है, अगर एक बी गूंजता है; फिर 'वही' गूंजें .. लेकिन पहले गूंजने से पहले, यह एक और बी चर भी गूंजता है ... धन्यवाद ... –