Local view for "http://dbtune.org/jamendo/record/5220"
Predicate | Value (sorted: default) |
---|---|
dc:title | |
rdf:type | |
ns1:available_as | |
dc:date |
"2007-04-24 16:49:55"
|
dc:description |
"<div class="titulo">
<h2>What is #!/bin/bash?</h2>
</div>
<p>1. It's a new EP by <a target="_blank" href="http://www.geradorzero.com/">Gerador Zero</a>.</p>
<p>2. It's the first line of all scripts on Linux/Unix that make use of the <a target="_blank" href="http://www.gnu.org/software/bash/bash.html">Bash</a> shell, a fundamental piece of the <a target="_blank" href="http://www.gnu.org/">GNU</a> system.</p>
<p>The EP has this name because:</p>
<p>1. I'm a geek and I've been trying to make some tracks about GNU/Linux for some time.</p>
<p>2. Weird names are cool (If you don't believe it, ask <a target="_blank" href="http://www.amazon.com/exec/obidos/tg/detail/-/B00005QD9N/102-0192052-9402564?v=glance">Aphex Twin</a>).</p>
<p><br />
</p>
<h2><span class="subtitulo">Why do the tracks have these strange names?</span></h2>
<p>It's a <a target="_blank" href="http://www.gnu.org/software/bash/bash.html">Bash</a> script. If you write this inside a text file and run it on Linux (or MacOS X, or Windows with <a target="_blank" href="http://www.cygwin.com/">Cygwin</a>), it will work perfectly. What does it do? Well, if you know Bash, you already know. If you don't, I'll explain it:</p>
<p><strong>#!/bin/bash</strong><br />
<span class="legenda">(Tells the system to use Bash to run this script)</span></p>
<p><strong>for x in *.wav; do</strong><br />
<span class="legenda">(Do the following with all .wav files:)</span></p>
<p><strong>oggenc -q 6 $x</strong><br />
<span class="legenda">(Convert it to OGG Vorbis with quality 6)</span></p>
<p><strong>rm $x</strong><br />
<span class="legenda">(Delete the original .wav)</span></p>
<p><strong>done</strong><br />
<span class="legenda">(Self-explanatory)</span></p>
<p>Obviously you'll need <a target="_blank" href="http://www.xiph.org/ogg/vorbis/">oggenc</a> for it to work, but most Linux flavors come with it pre-installed.</p>
<p> </p>
<h2><span class="subtitulo">But this could be done on a single line!</span></h2>
<p>I know, but a CD with just one song isn't that much interesting.</p>
<p> </p>"^^xsd:string
|
ns1:image | |
foaf:maker | |
ns2:taggedWithTag | |
ns1:track |
All properties reside in the graph file:///var/www/sites/dbtune-rdf-services/jamendo/static-rdf/jamendo.rdf
The resource appears as object in one triple:
{ Gerador Zero, foaf:made, #!/bin/bash }
Context graph
The server does not have the graphviz program
dot
installed in PATH. See http://www.graphviz.org/ for details.