<br><br><div class="gmail_quote">2009/3/12 Rick Moynihan <span dir="ltr"><<a href="mailto:rick.moynihan@gmail.com">rick.moynihan@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
</div>I offer a small improvement:<br>
<br>
If you're going to write a shell script you might as well include the<br>
user commands before hand as part of the script. At least that's what<br>
I first thought; however in this simple case you're better writing it<br>
on as a one liner:<br>
<br>
wget -qO - <a href="https://www.defcon.org/podcast/defcon-16-video.rss" target="_blank">https://www.defcon.org/podcast/defcon-16-video.rss</a> | grep<br>
m4v | cut -d '"' -f2 | wget -i -<br>
<br>
Redirecting everything through stdout/stdin has the advantage of not<br>
leaving temporary files on your disk.<br>
<font color="#888888"></font></blockquote><div><br>That's great Rick if you are writing everything for yourself to enable efficiency but when you are writing instructions on the TayLUG for others to follow, Nick's more long winded version is preferred. This is due to people having different levels of knowledge and experience, you want to write instructions that is easy to follow and so that people have a reasonable idea of how things are being derived i.e. showing your working, so that they can apply this knowledge in other areas. This is only my personal opinion, but I prefer doing things so that understanding is achieved in addition to an objective being achieved.<br>
<br>Gordon <br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888"><br>
R.<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
dundee GNU/Linux Users Group mailing list<br>
<a href="mailto:dundee@lists.lug.org.uk">dundee@lists.lug.org.uk</a> <a href="http://dundee.lug.org.uk" target="_blank">http://dundee.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/dundee" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/dundee</a><br>
Chat on IRC, #tlug on <a href="http://dundee.lug.org.uk" target="_blank">dundee.lug.org.uk</a><br>
</div></div></blockquote></div><br>