Dear Michal Schulz, In message <aanlkti=eyrmrwheqnnryuj5hcnf5upf=sw0zhpyvj...@mail.gmail.com> you wrote: > > Working on the UBoot for EfikaMX I found out, that the minimalistic > shell is not able to compare two strings. Therefore I have added a new > uboot command, strcmp, which takes three arguments - two strings to > compare and the compare operator. The function can be used in > combination with "if" command as follows:
Does the "test" command not work for you? If not, can we not rather extend this instead of adding a new, nonstandard command? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Those who hate and fight must stop themselves -- otherwise it is not stopped. -- Spock, "Day of the Dove", stardate unknown _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot