11
i this url dayalı uboot ve tftp programlamauboot'ta "if" ve karşılaştırma ifadesi nasıl yapılır?
yılında acemi değilim, bu if imi $addr; then echo Image OK; else echo Image corrupted!!; fi
gibi if
açıklama yapmak nasıl olduğunu ve benim "eğer" şudur: Ben
=> 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 doğru ... bunu denedim, eğer echo a b; sonra echo 'aynı' .. ama aynı echo aynı zamanda, aynı zamanda bir & b değişkeni yankı ... teşekkürler ... –