<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Its a builtin for both shells in my
case...<br>
Check out the output below...<br>
<blockquote><tt>els:ps</tt><br>
<tt> PID TTY TIME CMD</tt><br>
<tt> 3377 pts/24 00:00:00 bash</tt><br>
<tt> 3427 pts/24 00:00:00 ps</tt><br>
<tt>els:type echo</tt><br>
<tt>echo is a shell builtin</tt><br>
<tt>els:exec /bin/sh</tt><br>
<tt>els:ps</tt><br>
<tt> PID TTY TIME CMD</tt><br>
<tt> 3377 pts/24 00:00:00 sh</tt><br>
<tt> 3428 pts/24 00:00:00 ps</tt><br>
<tt>els:type echo</tt><br>
<tt>echo is a shell builtin</tt><br>
</blockquote>
<br>
There is also a /bin/echo.<br>
Maybe we just use printf instead of echo...<br>
<br>
</div>
<blockquote
cite="mid:CANjxxd2oP3kyWFEQ_OWphtRzecH_gf4uPG3zeHLzgG03_LyWRA@mail.gmail.com"
type="cite">
<pre wrap="">Ed,
Is there any indication as to why 'echo' is failing? 'echo' is not a
built-in command for either shell interpreter as I was able to locate
it as a separate program using both shells. The -e option is to allow
interpretation of backslash characters as I was using it for newlines
and tabs.
On Sat, Jul 11, 2015 at 7:51 AM, Jarielle Catbagan
<a class="moz-txt-link-rfc2396E" href="mailto:jcatbagan93@gmail.com"><jcatbagan93@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On Jul 11, 2015 7:17 AM, "Ed Sutter" <a class="moz-txt-link-rfc2396E" href="mailto:edsutterjr@gmail.com"><edsutterjr@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Jarielle,
Did you try running the script with that change?
I applied the patch, then tried running it and it failed.
Apparently 'echo' in sh is different than 'echo' in bash, at least it is
for my system.
Let me know.
I had to remove the -e from the echo lines for it to work on my
ubuntu14.04 system.
You wanna test that and resubmit the patch or should I do it?
Ed
</pre>
</blockquote>
<pre wrap="">
Hi Ed,
After I changed it to 'sh' I was able to run it. Ok, I'll look into it to
see what the issue might be.
_______________________________________________
</pre>
<blockquote type="cite">
<pre wrap="">umon-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:umon-devel@rtems.org">umon-devel@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/umon-devel">http://lists.rtems.org/mailman/listinfo/umon-devel</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>