<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">By the way, Vijay.  To get your scrip to actually join files, you do not<br>
need the last fiddly loop.  Take it out and put in this:<br>
<div class="im"><br></div></blockquote><div><br></div><div>:(</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
joinCommand="mencoder -oac copy -ovc copy -o"<br>
<br>
</div>#add output file name<br>
joinCommand="$joinCommand $OUTPUT_FILE_NAME"<br>
<br>
# append files<br>
joinCommand="$joinCommand ${FILES[@]}"<br>
<br></blockquote><div> </div><div>WOW great to see this. I was not aware of this.   Thanks man.. I was not able to use that script as that loop was not working in my case. It was only adding first file in the final command.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
# Tell us what you are doing<br>
echo "Going to execute command $joinCommand"<br>
<br></blockquote><div><br></div><div>Just  a  message. nothing else. A notification before actual starts. actually it means nothing During the testing time of my script. I just wanted to see if the command is prepared well. That is it. :)</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
#do it<br>
$joinCommand<br>
<br>
<br>
=============<br>
<br>
Obviously this could all be done in one step:<br>
joinCommand="$joinCommand $OUTPUT_FILE_NAME ${FILES[@]}"<br>
<br></blockquote><div><br></div><div>Thanks man. Finally got my script working. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Interesting script.  Thanks for the "lesson."<br>
<br></blockquote><div><br></div><div>It was a lesson for me too. As it was my only second script. learned a lot.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


--PE<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br>