Oct 27, 2011 #1 davidbelarus Programmer Joined Oct 21, 2011 Messages 26 Location US i got a string "A" and i want to add string "B" to end of it. This will make a full command line i can place on minicom prompt.
i got a string "A" and i want to add string "B" to end of it. This will make a full command line i can place on minicom prompt.
Oct 27, 2011 Thread starter #2 davidbelarus Programmer Joined Oct 21, 2011 Messages 26 Location US i figured it out. append just cancatinates. example set bootsection1 "newsstuff boot -z -elf peter.kernel: /' newstuff" set bootsection2 "root=/dev/mtdblock3 rootfstype=squashfs resmem=75m@155m(cdi) resmem=26m@230m(grmem)\"" append bootsection1 $bootsection2 append bootsection1 "\"" #you have youself a custom string. Upvote 0 Downvote
i figured it out. append just cancatinates. example set bootsection1 "newsstuff boot -z -elf peter.kernel: /' newstuff" set bootsection2 "root=/dev/mtdblock3 rootfstype=squashfs resmem=75m@155m(cdi) resmem=26m@230m(grmem)\"" append bootsection1 $bootsection2 append bootsection1 "\"" #you have youself a custom string.