On Tuesday, October 05, 2010 05:17:53 Cao Sy Le wrote: > Ubuntu (bash shell) like this: > echo at+cmgs=\"123456\"$'\r\n' > and it write (at+cmgs="123456"<cr><lf>) to modem > But on sash and hush shell I couldn't do the same. > Plz tell me some way to echo binary data on those shell.
use the standard octal echo syntax \012. it'll work with all shells. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev